-
Notifications
You must be signed in to change notification settings - Fork 113
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
Move release automation to GHA #389
Comments
As part of this work, we should change the way we're publishing lifecycle images. Instead of building a new image when releases are cut, we should build a new remote image with every push to |
@yaelharel and I are thinking of picking this up |
After some experimentation and discussion we think this is the way to proceed:
Other needed things:
|
We could also just scrap this from the release notes text. Folks can already see from the version number whether it is a release or a patch. |
hey @yaelharel, I am pretty sure the release branches are already protected. |
Some context: right now |
Possible a/c: local development w/ LIFECYCLE_VERSION set:
local development w/o LIFECYCLE_VERSION set:
new commits to main:
PRs to main and release/** branches:Same as new commits to main, except no lifecycle image is created. Note that PRs to release branches will still have a "dev" version like new commits to release/** branches:
release candidate (push the button in GitHub):
release candidate failure case (push the button in GitHub when build of the last commit is still in progress or failed):
release is published:
|
Love this overall. Just a few questions:
Then we can publish to a draft without rebuilding and validate the candidate images before publishing the draft. Essentially, why not treat every commit to a release branch like a release candidate? |
@ekcasey sounds good. I'll update the previous comment. We want to hold off on publishing lifecycle images on new commits to main, but otherwise we are in agreement! (main poses additional challenges determining what the right version should be... but let us know if you want us to pursue it further...) Edit: it ended up being just as easy to build lifecycle images for new commits to main, so we are doing that as well. |
Implemented in #415 |
Now that github actions support manually triggered workflows we should move the lifecycle release process from concourse to GHA
https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
The text was updated successfully, but these errors were encountered: