fix(ci): export SHORT_SHA for yq env() + fix(db): deterministic staff IDs (GRO-352, GRO-355)

yq env(SHORT_SHA) on lines 330 and 339 requires SHORT_SHA as an
environment variable, not just a shell variable. Without export, yq
receives an empty value and the Update Infra Image Tags job fails on
every merge to main.

Regression from GRO-311 fix (commit 0d610f5).

Co-authored-by: Barkley Trimsworth <barkley@groombook.com>
Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #193.
This commit is contained in:
groombook-engineer[bot]
2026-04-01 10:21:41 +00:00
committed by GitHub
parent 5587866eea
commit 66024d2e77
+1 -1
View File
@@ -314,7 +314,7 @@ jobs:
if [ -z "$TAG" ]; then
TAG="$(date -u +%Y.%m.%d)-${GITHUB_SHA::7}"
fi
SHORT_SHA="${SHA::7}"
export SHORT_SHA="${SHA::7}"
echo "Updating dev overlay image tags to: $TAG"
echo "Updating migration/seed Job names with SHA: $SHORT_SHA"
cd /tmp/infra