1.6 KiB
1.6 KiB
state-hub image promotion (Forgejo)
The state-hub container image is built and published by CI
(.forgejo/workflows/image.yaml) to the Forgejo registry on every main
push that touches the app:
forgejo.coulomb.social/coulomb/state-hub:main-<short-sha>— immutable, promotableforgejo.coulomb.social/coulomb/state-hub:latest— moving pointer to newest main
The chart's image.repository defaults to forgejo.coulomb.social/coulomb/state-hub.
Promote a build to the cluster
- Pick a CI-produced tag to promote — use an immutable
main-<sha>, notlatest(avoid surprise upgrades). List candidates:# requires a Forgejo read token curl -s -u <user>:<token> \ "https://forgejo.coulomb.social/api/v1/packages/coulomb?type=container&q=state-hub" - Upgrade the release (rolling,
maxUnavailable=0→ zero downtime;--atomicauto-rolls-back if the pull fails):helm -n state-hub upgrade state-hub <chart-path> \ --reuse-values \ --set image.tag=main-<sha> \ --atomic --timeout 3m - Update this chart's
appVersionto the promotedmain-<sha>and commit, so the declared version matches what's deployed.
History
- 2026-07-16: the deployed release pinned the gitea-era tag
f2e042a, which Forgejo CI never produced. The running image was preserved by a one-off gitea→Forgejo copy off2e042aand the release repointed to Forgejo (CUST-WP-0059). Going forward, promotions use CImain-<sha>tags — no manual image copies. The next promotion should move offf2e042aonto amain-<sha>and updateappVersionaccordingly.