cloud-tofu: apply identity/forgejo on merge to main #198
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!198
Loading…
Reference in a new issue
No description provided.
Delete branch "tofu-apply-on-merge"
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?
Apply-on-merge for the OpenTofu stacks that the fleet depends on (
identity,forgejo), so landing infra changes no longer needs a founder-dispatched apply.Resolve Requestdecides the run: a dispatch keeps today's stack/mode; a push to main validates every stack (as before) and auto-applies theAUTO_APPLY_STACKSa push touched (infra/<stack>/**,Scripts/<stack>-tofu.sh, or this workflow file).plan -out, refuse if the plan contains any destroy/replace (those stay manual), thenapplythe saved plan. Results land in the job outputs like a plan run.cloud-tofu-applythrough the Forgejo job token withforgejo-ci-trust-guard --mode trusted-main; the OpenBao role and the WIF provider are already bound to the main subject, so no infra change.cloud-signing,cloud-data,hq-hcloud,grafana,openbao) stays validate-only on push and apply-by-dispatch.First effect of merging: the push applies the pending
identity(resident KMS signing keys + IAM, KSE-0192) andforgejo(residents team, main push/merge whitelists) changes from #171/#175.