Release automation #98
Notifications
Due Date
No due date set.
Depends on
Reference: Mortis/Kamino#98
Reference in new issue
Block a user
Part of #87
Question
How far is the path from a merged change to a tagged release automated, and which step stays a human decision?
Decide: who or what bumps
galaxy.ymland runsantsibull-changelog release; whether a release pull request is generated; what the tag-push job verifies and publishes; how a consumer learns of a release.Context
vX.Y.Ztag equal to thegalaxy.ymlversion.From Public design contract replacing the ADR 0004 references: who may push
v*tags (today the maintainer only) is an ADR candidate, left to this ticket because continuous delivery may change it. The tag shape (annotatedvX.Y.Zequal togalaxy.yml) is a rule held by thebuild.ymlcheck, not an ADR. If this ticket's outcome meets the ADR bar (hard to reverse, surprising, a real trade-off), the closing session files the ADR as implementation. ADRs: statusacceptedorsuperseded by NNNN, one screen at most, a residual-risk section only when a risk is accepted, no infrastructure detail.Resolution
Decided with the maintainer, 2026-11-15.
mainthat adds a consumer-visible fragment makes CI open or refresh one release pull request onrelease/next(version bump +antsibull-changelog release).breaking_changes/removed_features→ major;major_changes/minor_changes/deprecated_features→ minor;bugfixes/security_fixes/known_issues→ patch; onlytrivial→ no release. Contributors never edit the version.mainwheregalaxy.yml's version changed, one API call creates the Gitea Release and the annotatedvX.Y.Ztag (notes = that version's changelog section), then the built tarball is uploaded. This makes the "release tarball" consumption route true.release/branch to thegalaxy.ymlversion line, the changelog files and fragment deletions.kamino-release, write on this repository only, not an organisation owner, on thev*tag allowlist with the maintainer; its token is a repository secret used only byrelease.yml. The Actions job token cannot do it on Gitea 28.0.0: pull requests it opens start no workflows (services/actions/notifier_helper.go), and the Actions user cannot be allowlisted for protected tags.antsibull-changelog+curlagainst the API. No standard tool fits: knope runs on Gitea but needs its own change format and attaches no assets there; release-please has no Gitea support;collection_prep_versionmaps sections differently and compares versions as strings.image.ymlandrelease.ymlreference secrets, each only its own (held by review).v*tags" candidate handed over from Public design contract replacing the ADR 0004 references.Side note, outside this map: the server runs Gitea 28.0.0; 28.1–28.3 carry published security fixes.
Backlog
Review of the map (2026-11-15): corrections to this issue.
image.ymlandrelease.ymlreference secrets, each only its own", which leaves outrenovate.yml(it references its own token,.gitea/workflows/renovate.yml:57). The restated rule: each secret is referenced by exactly one workflow (image.ymlthe push credential,renovate.ymlthe Renovate token,release.ymlthe release token); no other workflow references a secret except the job token.Review of the map (2026-11-17).
The points the last note left open are closed by Release path: fragment check, failed publish and tarball integrity: the fragment check passes the release pull request by its content (item 7), publish converges on every push to
main(item 5), prepare refreshes on every push while fragments are pending (item 1), and the tag message carries the tarball's sha256.Partly superseded by Role standard gaps found in review, rule 8:
major_changesis not used, so item 3 no longer maps it to a minor release.Open after this review: a rebuilt tarball never has the sha256 the tag message holds (What the tarball checksum in the tag message proves when a publish is repaired). The job-token facts behind the release bot were read at Gitea 28.0.0; the server reports 28.3.0 on 2026-11-17 and they were not re-read.