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

release: commit state on which containers are built #1203

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

katexochen
Copy link
Member

Previously, we would build both container images and cli on a dirty state: we bumped the flake version to release but didn't commit it, the build the container images, then commit the updated cli assets, then build the cli on the still dirty state, as the flake version bump still wasn't committed. This made reproducing the release very difficult.

image

With this patch, we are committing the flake version bump to the release, too. This produces a first commit (flake bump to release), on which we build the container images, and a second commit (cli assets) on which we build the cli.

image

Another problem not fixed with this release is that the tag of the release points to the last commit (flake bump to next -pre), but that is difficult to mitigate at this point (we could do it on the release branch transaction, but that should be minimal as there isn't a way to test it). Also there isn't a "correct" commit to point the tag to, as we build release artifacts from the two different commits as mentioned above.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
@katexochen katexochen added the changelog PRs that should be part of the release notes label Feb 3, 2025
@katexochen katexochen added this to the v1.5.0 milestone Feb 3, 2025
@katexochen katexochen requested a review from burgerdev February 3, 2025 14:36
@katexochen katexochen merged commit cc3373c into main Feb 3, 2025
16 checks passed
@katexochen katexochen deleted the p/release-commits branch February 3, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog PRs that should be part of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants