Skip to content

feat(ci): automate release process - #292

Merged
sabinem merged 1 commit into
mainfrom
feat/automate-release-process
Sep 8, 2026
Merged

feat(ci): automate release process#292
sabinem merged 1 commit into
mainfrom
feat/automate-release-process

Conversation

@sabinem

@sabinem sabinem commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

This PR automates the publishing of the Helm chart, so deployments can be automized.

Before: CI built and pushed the container images, but the Helm chart only ever lived in the repo. Anyone deploying Hackagon had to copy the chart out of a checkout and work out for themselves which image versions belonged with it.

Now: CI publishes the chart too. Deploying becomes one command with a version that can be set.

The chart gets its own version number, independent of the app's: so a chart fix doesn't force an app release, and an app release doesn't republish a chart that hasn't changed.

Fixed: Underneath, two things were broken and are fixed here: the repo's version numbers had all drifted apart, and the command meant to keep them in step crashed instead.

Not done yet: nothing has actually been published. That needs the first release tag pushed, and someone making the new GHCR packages public: they're private by default.

Verified: the chart lints, renders and packages locally, and the new checks catch the mistakes they're meant to. The upload itself has no local coverage: it needs a tag and org credentials.

@sabinem sabinem changed the title Feat/automate release process feat(ci): automate release process Sep 7, 2026

@marftn marftn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Overall this is good but there are a few issues with the way versions are managed. Also the PR contains quite a lot of AI comments, and I think some of them could be simplified or just removed.

Comment thread helm-chart/Chart.yaml Outdated
Comment thread tools/just/helm.just Outdated
Comment thread tools/just/version.just Outdated
Comment thread tools/just/version.just Outdated
Comment thread tools/just/version.just Outdated
Comment thread CLAUDE.md Outdated
Comment thread tools/helm/lint-values.yaml Outdated
@sabinem
sabinem force-pushed the feat/automate-release-process branch from cbd3a3b to a48b736 Compare September 8, 2026 05:40
CI built and pushed the container images but never the chart, so
deploying meant copying the chart out of a checkout by hand. It now
publishes the chart to GHCR too, and a deployment can install a pinned
version.

The chart carries its own version, separate from the app's: a chart fix
needs no app release, and an app release does not republish a chart
that has not changed.

Two things were broken underneath and are fixed here. The repo's
version numbers had drifted apart (VERSION, both components and
package.json each said something different), and `just version::bump`
crashed instead of fixing them.

CI also gained three checks: the versions agree, the chart lints, and
the chart version was bumped whenever the chart changed.

style: reformat ci-cd.md

treefmt output only — realigns a markdown table column and rewraps two
paragraphs. No wording changes.
@sabinem
sabinem force-pushed the feat/automate-release-process branch from a48b736 to 0a58895 Compare September 8, 2026 05:52
@sabinem
sabinem requested a review from marftn September 8, 2026 06:10
@sabinem

sabinem commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

@marftn Thanks for the great review. I took care of your suggestions. The Chart and App Versions are now decoupled. Please review again.

@marftn marftn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks @sabinem for the changes! The PR is in much better shape now. You can merge 😃

@sabinem
sabinem merged commit efc7c9a into main Sep 8, 2026
3 checks passed
@sabinem
sabinem deleted the feat/automate-release-process branch September 8, 2026 07:36
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