ci: seal.key from the seal broker, for runs of main and v* tags only #267
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!267
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:seal-broker"
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?
Why
Do not merge before the seal broker runs on the server (MagicBeanDev/Infra PR: MagicBeanDev/Infra#7). Once merged, Sign and publish gets seal.key from the broker. Without the broker it fails.
A label only routes a job. Anyone who can push a branch, or open a pull request with its own copy of the workflows, could add a job with
runs-on: deploy, mount/magicbean-secrets, and openRELEASE_SIGNING_KEY_SEALED. forgejo-runner can't filter jobs by ref, so the key moves to a broker that checks the ID token Forgejo signs for the job. The broker hands it only to a push to main or av*tag.What changed
/magicbean-secretsvolume, andenable-openid-connect: trueon that job only.SEAL_KEYfor the signing steps. It fetches the ID token and callshttps://magicbean-seal-broker:8443/seal-keywith the key pinned (SEAL_BROKER_PIN).actionlint.yamlalso acceptsenable-openid-connect.Companion PRs: Longshot MagicBeanDev/Longshot#2429, LongshotLauncher #267, Beanstalk MagicBeanDev/Beanstalk#146, Infra MagicBeanDev/Infra#7.
Testing
CI only, nothing the game runs. Not run yet, since the broker isn't deployed. To check after merging: the next nightly's Sign and publish signs as before.
Risks
SEAL_BROKER_PIN: releases fail at the new step. A revert is enough.main(no direct push) and thev*tags (a protected-tag rule).Must happen first
SEAL_BROKER_PINis set.mainand a protected-tag rule forv*in this repository.π€ Generated with Claude Code
Possibly related, for context:
WIP: ci: seal.key from the seal broker, for runs of main and v* tags onlyto ci: seal.key from the seal broker, for runs of main and v* tags only