Skip to content

Pin Docker publish inputs and remove rolling revalidation - #19

Merged
abmmhasan merged 9 commits into
mainfrom
fix/docker-publish-upstream-pinning
Sep 17, 2026
Merged

abmmhasan merged 9 commits into
mainfrom
fix/docker-publish-upstream-pinning

Conversation

@abmmhasan

@abmmhasan abmmhasan commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes the 0.4.1 Docker Publish failure in Revalidate rolling upstreams before publish and makes release builds reproducible against one immutable upstream snapshot captured at workflow start.

Root cause / failure mode

Apache had an extra mutable-upstream revalidation gate that docker-runner does not have. Under set -o pipefail, that step also used early-exit parsing around network-backed commands, so an upstream/network/pipe failure could terminate the publish with an opaque status such as the observed exit 255.

Changes

  • remove the redundant pre-publish rolling-upstream revalidation step
  • snapshot rolling inputs once with bounded retries and validation
  • checksum the Toolset installer from the exact resolved Toolset release
  • keep normal/local Docker builds rolling by default
  • pin every publish build to the same snapshot:
    • httpd:alpine@<digest>
    • exact Scriptomatic main commit SHA
    • exact latest-stable Toolset release
    • exact Toolset installer SHA-256
  • pass those same pinned values to the amd64 candidate, arm64 candidate, and final multi-architecture build
  • extend static/release contracts so revalidation cannot be reintroduced and all three publish builds must stay pinned

Recovery

After merge, recover release 0.4.1 through Docker Publish → Run workflow with release_tag=0.4.1. The failed 0.4.1 run stopped before registry login/push, so the immutable 0.4.1 image tag was not consumed.

@abmmhasan abmmhasan changed the title Harden rolling upstream revalidation and publish pinning Pin Docker publish inputs and remove rolling revalidation Sep 17, 2026
@abmmhasan
abmmhasan marked this pull request as ready for review September 17, 2026 08:11
@abmmhasan
abmmhasan merged commit dcb4a0c into main Sep 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant