Music metadata sync runs as an hourly CronJob under its own workload identity #1017
No reviewers
Labels
No labels
bug
campaign-editor-ui
dependencies
design
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/chess-tactics!1017
Loading…
Reference in a new issue
No description provided.
Delete branch "pipt-88-bgm-sync-cronjob"
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?
The BGM metadata sync moves from a hand-run workflow to the chart's chess-tactics-bgm-sync CronJob (hourly; it never overwrites a title already set), running backend/bgm-sync.mjs from the app image. It gets its own UAMI and ServiceAccount (tofu/identity.tf); the container-scoped writer role moves from the CI service principal to it, so CI loses blob write and the app identity stays read-only. The CronJob renders once bgmSync.clientId is pinned from the tofu output, in a follow-up PR after this apply. Removes .forgejo/workflows/sync-bgm-metadata.yml and tools/bgm/.
Work package: https://openproject.home.romaine.life/wp/PIPT-88