ci(release): use reproducible Docker build for Linux release binaries#3862
Draft
decofe wants to merge 2 commits into
Draft
ci(release): use reproducible Docker build for Linux release binaries#3862decofe wants to merge 2 commits into
decofe wants to merge 2 commits into
Conversation
Contributor
|
This PR has been marked stale due to 7 days of inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3804 — switches the
tempobinary build for Linux targets from barecargo buildto the reproducible Docker build pipeline. Mac (aarch64-apple-darwin) remains non-reproducible.Changes
Dockerfile.reproducibleTARGETandJEMALLOC_ARCHbuild args (defaults to x86_64)--platform linux/arm64scripts/reproducible-build.shTARGETenv var, auto-derivesDOCKER_PLATFORMandJEMALLOC_ARCHTARGETandJEMALLOC_ARCHas--build-args to Dockerrelease.ymlreproducible: true/falseflag to platform matrix entriestempoon Linux: builds via Docker reproducible pipeline instead of bare cargotempo-bench,tempo-sidecar, and macOS: keeps bare cargo.reproducible.sha256sidecar alongside release artifacts for Linuxtempobinariesfetch-depth: 0(needed byreproducible-build.shforSOURCE_DATE_EPOCH)reproducible-build.ymlworkflow_calltrigger withrefandtargetinputstargetchoice toworkflow_dispatchdepot-ubuntu-latest-arm-16for aarch64)Dockerfile.reproducibleandscripts/reproducible-build.share already on the branch. The workflow file diffs need to be applied manually:Patch for workflow files (click to expand)
TODO (future follow-up)
.reproducible.sha256sidecarrelease.ymlto callreproducible-build.ymlviaworkflow_callfor independent verification