Skip to content
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

Automate releases #184

Merged
merged 10 commits into from
Jul 23, 2023
Merged

Conversation

triarius
Copy link
Contributor

@triarius triarius commented Jul 18, 2023

The new step will run on buildkite tag builds and create a draft release on GitHub.
It uses goreleaser, ghch, and github cli. A human will then be able to edit the draft and publish the release.

There was a flaw in the previous release process that meant the controller and container images reported their versions to be different from the release. This was because when the images were built, the tag had not yet been created. The new processes fixes this by creating the release from the tag build rather than creating the tag from the release.

triarius added 7 commits July 18, 2023 22:50
There's no need to release darwin builds for the for a kubernetes controller
Because draft releases don't have stable URLs, we create the release
notes in one shot with goreleaser.
@triarius triarius requested a review from a team July 19, 2023 05:49
Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

Nice!

@triarius triarius force-pushed the pdp-812-automate-release-of-agent-stack-k8s branch from 8df72ea to 1cf28a8 Compare July 23, 2023 10:52
@triarius triarius force-pushed the pdp-812-automate-release-of-agent-stack-k8s branch from 1cf28a8 to 04942c4 Compare July 23, 2023 11:10
@triarius triarius merged commit 76c7fdc into main Jul 23, 2023
@triarius triarius deleted the pdp-812-automate-release-of-agent-stack-k8s branch July 23, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants