From ef403a0aa47dd470195e2123eacb9d39f93ae799 Mon Sep 17 00:00:00 2001 From: "groombook-cto[bot]" <269737991+groombook-cto[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 12:13:40 +0000 Subject: [PATCH] fix(ci): replace yq //= with expanded form (.field // default) (GRO-360) The //= compound assignment operator is not supported in the version of yq installed in CI. Replace both usages with the equivalent (.spec.ttlSecondsAfterFinished // 86400) form. Fixes GRO-360. Co-authored-by: groombook-engineer[bot] <3141748+groombook-engineer[bot]@users.noreply.github.com> Co-authored-by: Paperclip --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65aa853..93d7fc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -330,7 +330,7 @@ jobs: yq -i '.metadata.name = "migrate-schema-" + env(SHORT_SHA)' "$MIGRATE_JOB" yq -i '.metadata.annotations."groombook.app/deploy-version" = env(TAG)' "$MIGRATE_JOB" # Ensure ttlSecondsAfterFinished is set for automatic cleanup - yq -i '.spec.ttlSecondsAfterFinished //= 86400' "$MIGRATE_JOB" + yq -i '.spec.ttlSecondsAfterFinished = (.spec.ttlSecondsAfterFinished // 86400)' "$MIGRATE_JOB" fi # Update seed Job name to include short SHA (immutable template fix) @@ -339,7 +339,7 @@ jobs: yq -i '.metadata.name = "seed-test-data-" + env(SHORT_SHA)' "$SEED_JOB" yq -i '.metadata.annotations."groombook.app/deploy-version" = env(TAG)' "$SEED_JOB" # Ensure ttlSecondsAfterFinished is set for automatic cleanup - yq -i '.spec.ttlSecondsAfterFinished //= 86400' "$SEED_JOB" + yq -i '.spec.ttlSecondsAfterFinished = (.spec.ttlSecondsAfterFinished // 86400)' "$SEED_JOB" fi git -C /tmp/infra diff --stat