ci: release-sign, release-upload, ci-blob and namespace-images families read secrets from OpenBao (gated) #103
No reviewers
Labels
No labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
key-store/key.store!103
Loading…
Reference in a new issue
No description provided.
Delete branch "openbao/ci-release-blob-namespace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan §4.3 steps 4-6, additive and gated (KEYSTORE_CI_RELEASE_SECRETS_SOURCE for release/blob lanes, repo-wide var for namespace-images). Per-job specs; policies amended for the ASC key triple; browser stores stay on age (not in KV); release-if-needed/by-tag untouched (F5). Structural verification only — flip per family after a test dispatch.
Migration plan §4.3 steps 4-6. Everything is additive and gated: with KEYSTORE_CI_RELEASE_SECRETS_SOURCE unset or "age" the release lanes run exactly as before; namespace-build-images follows the repo-wide KEYSTORE_CI_SECRETS_SOURCE. Each switched job carries enable-openid-connect: true, an openbao-secrets step where "Configure Age" was, and its age steps byte-identical behind `!= 'openbao'`. release-sign (role release-sign, aud key-store-release-signing): build-release prepare (check-release-secrets.sh gains an OpenBao mode: ?file probes for the release-sign subset, checked and deleted), build-flatpak-repo{,-experimental} and merge-flatpak-repo (flatpak repo GPG key from signing/, blob dotenv; build-flatpak-arch-repo-ci.sh gains the openbao path), sign-apple / sign-apple-macos-dmg (APPSTORE_KEY from signing/apple/appstore-key + id/issuer from age/apple/*), publish-sparkle-deltas (spec computed in bash; the Sparkle EdDSA key only when SPARKLE_EDDSA_SIGNER=file). build-apple needs nothing from OpenBao (no downstream reader) so its age steps are simply skipped. release-upload (role release-upload, aud key-store-release-publish): publish-store-uploads (per-job specs: play = blob dotenv only, WIF for Play; app-store/testflight = the ASC triple (+ founder phone for TestFlight metadata); microsoft = blob + ?partner-center; fdroid/sparkle = blob), publish-flatpak, publish-windows-appinstaller, update-database-secret (fly + planetscale). upload-browser-stores stays on age (age/browser/* is not in KV); release-if-needed and publish-store-uploads-by-tag are untouched (their only age use is the forge SSH key — F5). ci-blob (role ci-blob, aud key-store-ci-blob): the thirteen "Export Blob Storage Credentials" steps in build-release (one-line dotenv spec each, masked), build-sqlite-see (twin compile step), the flatpak repo script. namespace-images (role namespace-images): namespace-build-images.yml + Scripts/namespace-ci-auth.sh --from-openbao (tenant id required, Authentik client files / dev token optional as on the age path). Policies (infra/openbao): release-sign += age/apple/appstore-key-{id, issuer-id}; release-upload += signing/apple/appstore-key + age/apple/appstore-key-{id,issuer-id} (the importer filed the ASC key as those three entries, not a bundle). Apply the openbao stack before flipping the release variable. Verified: YAML parse of every touched workflow; bash -n on every touched run: block; the action's spec tokenizer replayed over every spec, every location present in KV and covered by the (amended) role policy; no openbao-gated step references AGE_IDENTITY_PATH/agenix. Not yet exercised on a runner: flip per family after a dispatched test run (macOS lane first — the smoke workflow's macOS lane is still commented out). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>