ci(mysql): auto-dispatch personal-cloud apply after firebase-cloud apply#32
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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