-
Notifications
You must be signed in to change notification settings - Fork 112
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 Github actions #415
Conversation
054ee00
to
0dc4ca0
Compare
.github/workflows/draft-release.yml
Outdated
}) | ||
.then(workflow_runs_result => { | ||
let workflow_runs = workflow_runs_result.data.workflow_runs | ||
.filter(run => run.conclusion === "success"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We plan to additionally add a check that the SHA is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aef5782
to
55ec216
Compare
@ekcasey we think this should be good to go - but we'd like to run the acceptance on our fork one more time (likely on Monday). |
For local development and commits to main, we derive the lifecycle version from `git describe --tags`. For new commits to release branches, we derive the lifecycle version from the branch name. New commits to main and release branches will trigger a new lifecycle image. After publishing new releases, the lifecycle image will be re-tagged. PRs to any branch won't trigger a new lifecycle image. Signed-off-by: Natalie Arellano <narellano@vmware.com> Signed-off-by: Yael Harel <yharel@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
- update github-script to the latest version v3.0.0 - refactor packager - publish the linux and windows lifecycle images after all tests passed (on ubuntu) - determine download urls for linux and windows in one step - check that the head sha of the last successful workflow is the last sha Signed-off-by: Yael Harel <yharel@vmware.com> Signed-off-by: Natalie Arellano <narellano@vmware.com>
55ec216
to
eb5db1a
Compare
Without clean, the artifact will be what was built from the acceptance tests (with a test version) since the source code didn't change between builds. Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
For local development and commits to main, we derive the lifecycle version from
git describe --tags
.For new commits to release branches, we derive the lifecycle version from the branch name.
New commits to main and release branches will trigger a new lifecycle image.
After publishing new releases, the lifecycle image will be re-tagged.
PRs to any branch won't trigger a new lifecycle image.
Signed-off-by: Natalie Arellano narellano@vmware.com
This PR should fix issue #389