ci: release-sign, release-upload, ci-blob and namespace-images families read secrets from OpenBao (gated) #103

Merged
founder merged 1 commit from openbao/ci-release-blob-namespace into main 2026-08-16 17:37:40 +00:00
Owner

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.

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.
ci: release-sign, release-upload, ci-blob and namespace-images families read secrets from OpenBao (gated)
Some checks failed
build-release.yml / ci: release-sign, release-upload, ci-blob and namespace-images families read secrets from OpenBao (gated) (push) Failing after 0s
build-release.yml / ci: release-sign, release-upload, ci-blob and namespace-images families read secrets from OpenBao (gated) (pull_request) Failing after 0s
Build: SQLite SEE / Redacted SEE compile (pull_request) Successful in 5s
Namespace: Build Images / Refresh macOS runner lane (push) Successful in 4s
Release: If Needed / Check (Release Needed) (push) Successful in 5s
Build: Apple / Check (SwiftLint) (push) Successful in 21s
Build: SQLite SEE / Redacted SEE compile (push) Successful in 30s
Namespace: Build Images / Refresh Linux runner image (push) Successful in 53s
Infra: Cloud OpenTofu / Infra (Cloud OpenTofu) (push) Successful in 57s
Build: Apple / Build (visionOS) (push) Successful in 34s
Release: Signing Preflight / Release (Signing Preflight) (push) Successful in 1m2s
Build: Apple / Build (iOS) (push) Successful in 40s
Deploy: Web / Deploy (Web) (push) Successful in 2m24s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 2m28s
Build: Apple / Build (macOS) (push) Successful in 2m18s
Deploy: API / Deploy (API) (push) Successful in 2m44s
Build: Apple / Build (iOS) (pull_request) Successful in 28s
Build: Apple / Build (visionOS) (pull_request) Successful in 35s
Build: Apple / Build (macOS) (pull_request) Successful in 2m19s
a2cc729ad3
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>
founder deleted branch openbao/ci-release-blob-namespace 2026-08-16 17:37:40 +00:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/key.store!103
No description provided.