fix: remove hardcoded seed image in promote-to-uat workflow (GRO-534) #252

Merged
groombook-engineer[bot] merged 5 commits from fix/gro-534-seed-image-tag into main 2026-04-10 10:53:49 +00:00
Showing only changes of commit 7f405ccc67 - Show all commits
-19
View File
@@ -72,25 +72,6 @@ jobs:
git -C /tmp/infra diff --stat
- name: Delete existing seed Job in UAT (immutable Job fix)
env:
TAG: ${{ inputs.image_tag }}
GH_TOKEN: ${{ steps.infra-token.outputs.token }}
run: |
cd /tmp/infra
SHORT_SHA="${TAG##*-}"
SEED_JOB_NAME="seed-test-data-${SHORT_SHA}"
echo "Deleting existing seed Job: ${SEED_JOB_NAME} in groombook-uat namespace"
gcloud container clusters get-credentials groombook-uat --zone us-central1 --project groombook-424212 2>/dev/null || \
kubectl config view --minify --raw 2>/dev/null || true
kubectl delete job/${SEED_JOB_NAME} -n groombook-uat --ignore-not-found=true 2>/dev/null || \
echo "Direct kubectl delete skipped (GitOps-only). Flux will reconcile after PR merge."
echo "Job deletion complete. Flux will reconcile the new manifest after PR merge."
- name: Create PR on groombook/infra
env:
TAG: ${{ inputs.image_tag }}