10000 Add deploy github actions workflows by tylerauerbeck · Pull Request #9989 · helm/helm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add deploy github actions workflows #9989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

tylerauerbeck
Copy link
Contributor
@tylerauerbeck tylerauerbeck commented Jul 31, 2021

Signed-off-by: Tyler Auerbeck tauerbec@redhat.com

refs #9921

What this PR does / why we need it:

This PR adds the remaining required github actions workflows in order to complete the transition from CircleCI. Specifically the following will now happen:

  • build-pr will now run when a PR is merged to the main branch
  • deploy will now happen when:
    • a tag is pushed to the repository
    • the workflow is manually run from GitHub Actions with a provided version name (some questions here if this is desired)
    • on a push/merge to the main branch, a deploy happens with VERSION=canary

Special notes for your reviewer:
@bacongobbler This is about 99% complete. Just wanted to put this out as a draft for you to take a look at while I finish some final testing. One question I had is really around the release process. As I'm not familiar with the release process, I just copied what I saw in the deploy.sh script. So things like do something when a tag is specified, etc. However, after doing some work in other helm repositories (chart-release, chart-testing), I noticed those repo's also had a workflow-dispatch action that allow them to trigger the release manually via GHA. Is this something that would be desired here? I've stubbed out a majority of it in case you would be interested. But otherwise, let me know and I can pull it out.

This will require two secrets to be created inside of the repo in GitHub:

  • AZURE_STORAGE_CONNECTION_STRING
  • AZURE_STORAGE_CONTAINER_NAME

To take a look at the output of this, you can look at a successful run of the workflow here:
https://github.com/tylerauerbeck/helm/actions/runs/1099917788

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@helm-bot helm-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 31, 2021
@helm-bot helm-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 5, 2021
Signed-off-by: Tyler Auerbeck <tauerbec@redhat.com>
@helm-bot helm-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 5, 2021
@tylerauerbeck tylerauerbeck marked this pull request as ready for review August 5, 2021 03:14
@tylerauerbeck
Copy link
Contributor Author

Should the CircleCI config be removed as part of this? Or should this be done in a follow up after we see these actions working ?

@bacongobbler
Copy link
Member
bacongobbler commented Aug 24, 2021

Good question. We probably want to disable CircleCI as soon as this is merged. Otherwise both Github Actions as well as CircleCI will be uploading competing uploads.

We can fix these up in follow-up PRs if need be.

Note that we do not have the secrets set in Github, so these actions will fail until we copy those over from CircleCI.

Specifically,

  • AZURE_STORAGE_CONNECTION_STRING
  • AZURE_STORAGE_CONTAINER_NAME

Signed-off-by: Tyler Auerbeck <tauerbec@redhat.com>
@tylerauerbeck
Copy link
Contributor Author

@bacongobbler This should be in good shape. Let me know if there is anything else you would like to see.

@bacongobbler bacongobbler added this to the 3.8.0 milestone Sep 16, 2021
Copy link
Member
@bacongobbler bacongobbler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Code LGTM.

Note that this will require some coordination before we merge, as we will need to migrate our existing credentials over from CircleCI to Github Actions. I'll see if I can find some time to do this a few weeks prior to Helm 3.8's scheduled release so we have a bit of a buffer before the next release is cut.

@bacongobbler
Copy link
Member

I scheduled myself to merge this PR today. Now that I realize it's Black Friday... Probably best to avoid merging code that could affect the release assets... Especially on the busiest sales day of the year. ;)

I'll reschedule reviewing and merging this for Monday.

Curious why CircleCI is failing to report its status here too. No matter - it will soon be gone :)

@mattfarina mattfarina modified the milestones: 3.8.0, 3.9.0 Jan 12, 2022
@mattfarina mattfarina modified the milestones: 3.9.0, 3.10.0 May 18, 2022
@hickeyma hickeyma modified the milestones: 3.10.0, 3.11.0 Sep 23, 2022
@sabre1041 sabre1041 mentioned this pull request Dec 27, 2022
2 tasks
@mattfarina mattfarina modified the milestones: 3.11.0, 3.12.0 Jan 18, 2023
@mattfarina
Copy link
Collaborator

This has already been completed in another PR so I'm closing this one. Thank you for the work and to try to help us along with this.

@mattfarina mattfarina closed this Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0