#236: also pin the node helper images in workflows
All checks were successful
CI / Lint, typecheck, test (pull_request) Successful in 5m41s
CI / Build container images (pull_request) Successful in 3m9s
CI / Auth e2e pack (pull_request) Successful in 8m32s
CI / Import/export fidelity gate (pull_request) Successful in 1m7s
CD / Build and push images (push) Successful in 21s
CD / Deploy to Test (push) Successful in 12s
CD / Smoke tests against Test (push) Successful in 1m17s
CD / Promote to Int (push) Successful in 11s
CI / Lint, typecheck, test (push) Successful in 6m0s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 8m32s
CI / Import/export fidelity gate (push) Successful in 1m3s
All checks were successful
CI / Lint, typecheck, test (pull_request) Successful in 5m41s
CI / Build container images (pull_request) Successful in 3m9s
CI / Auth e2e pack (pull_request) Successful in 8m32s
CI / Import/export fidelity gate (pull_request) Successful in 1m7s
CD / Build and push images (push) Successful in 21s
CD / Deploy to Test (push) Successful in 12s
CD / Smoke tests against Test (push) Successful in 1m17s
CD / Promote to Int (push) Successful in 11s
CI / Lint, typecheck, test (push) Successful in 6m0s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 8m32s
CI / Import/export fidelity gate (push) Successful in 1m3s
release.yml and drill.yml ran throwaway `docker run node:22.15-alpine` helpers outside the pin; the drift check now also fails on any node:<other>-alpine reference in .gitea/workflows. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168Ph5uBmHm8X28CSVpbpnJ
This commit is contained in:
parent
6a520e27b1
commit
9326177534
@ -81,6 +81,10 @@ jobs:
|
||||
echo "workflows must use node-version-file, not a literal version"
|
||||
bad=1
|
||||
fi
|
||||
if grep -rnE 'node:[0-9][^ ]*-alpine' .gitea/workflows | grep -v "node:${ver}-alpine"; then
|
||||
echo "a workflow references a different node image than node:${ver}-alpine"
|
||||
bad=1
|
||||
fi
|
||||
if ! grep -q "\"node\": \">=${ver}\"" package.json; then
|
||||
echo "package.json engines floor does not match ${ver}"
|
||||
bad=1
|
||||
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
} > comment.md
|
||||
# JSON-encode via a node container — the runner image guarantees
|
||||
# only git/curl/docker, not python or node.
|
||||
docker run --rm -i node:22.15-alpine node -e \
|
||||
docker run --rm -i node:22.15.1-alpine node -e \
|
||||
'const fs=require("fs");process.stdout.write(JSON.stringify({body:fs.readFileSync(0,"utf8")}))' \
|
||||
< comment.md > comment.json
|
||||
curl -sf -X POST \
|
||||
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
echo '_No database migrations in this release._'
|
||||
fi
|
||||
} > notes.md
|
||||
TAG=$TAG docker run --rm -i -e TAG node:22.15-alpine node -e \
|
||||
TAG=$TAG docker run --rm -i -e TAG node:22.15.1-alpine node -e \
|
||||
'const fs=require("fs");const body=fs.readFileSync(0,"utf8");process.stdout.write(JSON.stringify({tag_name:process.env.TAG,name:process.env.TAG,body}))' \
|
||||
< notes.md > release.json
|
||||
curl -sf -X POST \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user