Skip to content

ci(mysql): auto-dispatch personal-cloud apply after firebase-cloud apply#32

Merged
poly-glot merged 1 commit into
mainfrom
feature/dispatch-mysql-apps
Apr 25, 2026
Merged

ci(mysql): auto-dispatch personal-cloud apply after firebase-cloud apply#32
poly-glot merged 1 commit into
mainfrom
feature/dispatch-mysql-apps

Conversation

@poly-glot
Copy link
Copy Markdown
Owner

Summary

Final piece of the cross-repo MySQL provisioning contract (PR #30). After every successful firebase-cloud terraform apply, fire `terraform-mysql-apps.yaml` on poly-glot/personal-cloud so any new entries in `mysql-app-catalog` get DBs + secret versions provisioned with zero manual intervention.

Trigger is unconditional (no version-change detection) — personal-cloud's apply is idempotent so re-runs that find no work are cheap, and false-negatives in change-detection would leave new apps unprovisioned.

Uses `MYSQL_APPS_DISPATCH_TOKEN` (fine-grained PAT, scope: `actions:write` on poly-glot/personal-cloud only).

Test plan

  • CI plan: terraform.tfstate has no diffs (this is a workflow change, not a terraform change). Apply also no-ops on terraform.
  • After this PR merges, the apply job runs but does NOT trigger personal-cloud (because the workflow file change isn't picked up until next terraform/** push triggers it). True smoke test happens on the next firebase-cloud terraform PR.
  • Optional: trigger a no-op terraform apply (re-run the latest firebase-cloud workflow run from the GitHub UI) to verify the new dispatch step runs successfully.

After every successful firebase-cloud terraform apply, fire
terraform-mysql-apps.yaml on poly-glot/personal-cloud so any
new entries in mysql-app-catalog get DBs + secret versions
provisioned without a manual workflow click. personal-cloud's
apply is idempotent so unconditional dispatch is safe.

Uses MYSQL_APPS_DISPATCH_TOKEN (fine-grained PAT scoped to
poly-glot/personal-cloud actions:write).
@poly-glot poly-glot merged commit a8d0d6d into main Apr 25, 2026
@poly-glot poly-glot deleted the feature/dispatch-mysql-apps branch April 25, 2026 15:24
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.

1 participant