You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: tidy image-build machinery and pin tap-summary via the manifest
Image-generation cleanup follow-up to the Jenkinsfile pass:
- build-image.sh: fix the stale --push hint (it pointed at the removed
CI_IMAGE-default scheme; the main pipeline now auto-discovers the tag
via the content-addressed registry probe). Make --help self-adjust off
the comment block instead of a hardcoded sed line range that had already
drifted past the header.
- Dockerfile: drop the duplicate trailing `WORKDIR /workspace`; switch the
linux-firmware step from `set -eux` to `set -eu` (no self-added -x).
- Pin pcolby/tap-summary's summary.gawk in ci/image-manifest as
tap_summary_sha, consistent with the other external pins, instead of a
defaulted Dockerfile ARG. Plumb TAP_SUMMARY_GIT_SHA as a fail-closed
build-arg through the Dockerfile, build-image.sh (buildx + kaniko
handoff), and the Jenkinsfile kaniko step. Also drop the generated
colossus layer's `set -eux` to `set -eu`.
# Required build-arg from ci/image-manifest (tap_summary_sha=). No default,
107
+
# like the other pins: a missing --build-arg fails the build loudly rather
108
+
# than silently baking in a stale formatter commit.
109
+
ARG TAP_SUMMARY_GIT_SHA
110
+
RUN test -n "${TAP_SUMMARY_GIT_SHA}" || (echo "ERROR: TAP_SUMMARY_GIT_SHA --build-arg is required (pin lives in ci/image-manifest as tap_summary_sha)" >&2 && exit 1)
0 commit comments