-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add GitHub workflow for releases #58
Conversation
Adds a new GitHub workflow for releases that will: - Upload the CRDs and default CR manifest - Build and push the docker image Closes #18
f5bc2c8
to
4b56d23
Compare
Still pretty new to GitHub Actions so going to try to simulate a release here to ensure this all works. Welcoming any suggested changes here too. |
Specifies the image path to use for released manifests: prefecthq/prefect-operator:<tag>.
For pull requests, will build and push an image named `prefecthq/prefect-operator-dev`. Also gates the artifact upload action to releases only.
Also ensured these labels exist in the project settings.
Adds comments explaining the 'dev' and 'prod' environments setup, and that certain resources are managed in Terraform. [skip ci]
The pull request scenario looks good, and after merging we can test a real release workflow with something like Open to any feedback on this setup as I learn GitHub actions, even just stylistic things 👍🏼 |
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.
Looks great! I really appreciate the -dev
image support and the release note setup too 🙇♂️
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.
a few nits but otherwise looks good
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
Oh one quick thing, can we make the release jobs depend on the tests? |
- Adds pre-commit configuration - Adds yamllint and actionlint - Applies fixes they recommend
- Moves unit-tests job into main workflow - Now enables us to rely on unit-tests passing to proceed
The tag event type should give us better consistency between the docker-metadata step and the release asset upload step.
38da3c1
to
c9fbdc9
Compare
Summary
Adds a new GitHub workflow for releases that will:
Closes https://linear.app/prefect/issue/PLA-220/design-release-process
Closes #18
Testing
docker pull prefecthq/prefect-operator-dev:pr-58