Skip to content

ci(release): mint vX.Y.Z-rigel.N tags from .github/rigel-version (RIG-9270) - #13

Merged
mattwilkinsonn merged 2 commits into
rigel-releasefrom
go-migration/rig-9270-mint-vx-y-z-rigel-n-tags-from-github
Nov 14, 2026
Merged

mattwilkinsonn merged 2 commits into
rigel-releasefrom
go-migration/rig-9270-mint-vx-y-z-rigel-n-tags-from-github

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Nov 14, 2026 •

Copy link
Copy Markdown

Summary

Give devenv the same release-tag minter as the other forks, so release-binaries.yml gets its first tag.

  • .github/workflows/release-tag.yaml, .github/scripts/release-tag.sh and .github/scripts/release-tag.test.sh are copied from nix2container rigel-release. Only the repo names differ (nix2container → devenv).
  • .github/rigel-version is 2.4.1-rigel.1, matching the Cargo workspace version 2.4.1. A push of this file to rigel-release mints v2.4.1-rigel.1, which triggers release-binaries.yml.
  • hk.pkl: pre-push actionlint on release-tag.yaml and the minter test, scoped by glob.

Verification

  • actionlint .github/workflows/release-tag.yaml: pass.
  • shellcheck .github/scripts/*.sh: pass.
  • bash .github/scripts/release-tag.test.sh (yq-go 4.54, git): every case ok, exit 0.
  • release-binaries.yml accepts v2.4.1-rigel.1: the v*-rigel.* glob and the ^v[0-9]+\.[0-9]+\.[0-9]+-rigel\.[0-9]+$ validator both match.

Risks

  • The mint job needs three things the platform GitHub stack provides: the rigel-release Actions environment with the automation App key and client ID, and allowlist entries for release-tag.yaml, release-binaries.yml and release-binaries-eval.yml. A companion stack change adds them (RIG-9262; the stack change is open). Merge this PR only after that change applies. If it merges first, the mint fails with an empty App client ID, and the next stack apply would disable the unlisted workflows. Recovery: after the apply, run release-tag with workflow_dispatch on rigel-release.
  • Once the stack has applied, the merge mints v2.4.1-rigel.1. That tag publishes the release binaries, which is the intent.
  • Release Binaries Eval (aarch64-darwin) is red: the workflow from ci(release): publish devenv release binaries on tag (RIG-9270) #12 evaluates the patched nixpkgs on a Linux runner and needs a Darwin builder. That check predates this PR and is tracked separately.

Refs RIG-9270

…-9270)

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Nov 14, 2026

Copy link
Copy Markdown

RIG-9270

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka

Copy link
Copy Markdown
Author

Review round 1: head ca1f9ca6

  • Medium: the Risks text claimed the environment and allowlist entries already exist in the platform stack. They do not. Fixed in the body. Risks now says a companion stack change adds them, that this PR merges only after that change applies, and how to recover if it merges first. This PR stays held until the stack change applies.
  • Low: the token check used a non-upstream yq form. Fixed in edd4f93f: the test is now byte-identical to nix2container apart from the repo name.
  • Low: Release Binaries Eval (aarch64-darwin) is red. It comes from ci(release): publish devenv release binaries on tag (RIG-9270) #12's workflow, not this PR. Tracked as a separate follow-up.

@rigel-mintaka

Copy link
Copy Markdown
Author

Review round 2 and all-clear: head edd4f93fdf5bdf3ec3e53d3a53e42d816535339a

All three round-1 findings are closed, and no medium or high findings remain. Two body lows (a stale "equivalent yq" sentence; the companion change not linked) are fixed in the body: the stack change is tracked on RIG-9262.

Hold: merge only after the companion platform-stack change applies (§ Risks).

@rigelbuild-bot
rigelbuild-bot marked this pull request as ready for review November 14, 2026 22:02
@rigel-mintaka

Copy link
Copy Markdown
Author

The hold is lifted. orion#6872 (59c95d93) was applied by the GitHub stack on main: Woodpecker run 27479 succeeded at 21:04Z. The all-clear at edd4f93f still stands, with no new commits. Marked ready.

@mattwilkinsonn
mattwilkinsonn merged commit a4a8501 into rigel-release Nov 14, 2026
5 of 7 checks passed
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