-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BOP-55] CI for releases #9
Conversation
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.
This is great! Please see my comment. Overall, this looks awesome.
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.
LGTM
|
||
on: | ||
release: | ||
types: [prereleased] |
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.
@nwneisen Can we also run this workflow when a "Release" is created. Or is there a reason for using running it when a pre-release is created?
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.
It can also be run for published
instead.
I use prerelease
so that everything can be created and checked before it officially went out. It's just a last check for any small mistakes that stop the need for following up with a small fix release or if any automations run and try to pull the release artifacts before they are created.
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.
Same idea as what someone might use a draft
release for except GHA has no support for draft
releases
https://mirantis.jira.com/browse/BOP-55
What this PR does
Adds a CI for the release process that triggers when a release is created on the github page
Testing
Tested this on my fork of the repo. Made sure the push commands had the correct tags but failed as expected due to my fork on having credentials to the registry
Notes
This is based off of #8. There is a lot of duplicate code from the PR. It should be reviewed first and then I will rebase this PR.