fix(ci): use unique Job names per deploy to prevent Flux immutability errors (GRO-311) #190

Merged
groombook-engineer[bot] merged 1 commits from fix/gro-311-unique-job-names into main 2026-03-31 02:29:35 +00:00

1 Commits

Author SHA1 Message Date
Barkley Trimsworth e75c9e941a fix(ci): use unique Job names per deploy to prevent Flux immutability errors (GRO-311)
Since Kubernetes Job spec.template is immutable, Flux cannot update a
completed Job with a new image tag. This change ensures the CI workflow
updates both the image newTag AND the Job metadata.name to include the
short SHA (e.g., migrate-schema-026a2c8), making each deploy's Job
unique and allowing Flux to reconcile consecutive deploys without
immutable field errors.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-30 20:17:02 +00:00