k3s/scripts
Jon Hermansen 500fd9cfd1 Fix reproducibility of embedded data tarball
The tar command in package-cli produces a non-reproducible archive
because file ordering and timestamps vary between builds. This causes
bit-for-bit differences when rebuilding k3s from the same source,
which breaks reproducible build systems such as Nix.

Sort the archive entries by name and clamp modification times to the
Unix epoch so the tarball content is deterministic regardless of
filesystem ordering or build time.

Ref: NixOS/nixpkgs#430225
Ref: NixOS/nixpkgs#502374

Signed-off-by: Jon Hermansen <jon@jh86.org>
2026-04-09 14:34:50 -07:00
..
airgap Bump helm-controller for job race fix 2026-03-25 15:31:51 -07:00
binary_size_check.sh Update k8s version to 1.33 2025-04-30 04:43:37 -03:00
build Override DefaultHelmJob at build time (#13351) 2025-12-15 13:57:04 -08:00
build-tests-sonobuoy Add ca-cert rotation integration test 2024-10-08 17:03:31 -07:00
build-upload Fix artifact upload with aws s3 cp; update secret 2022-11-28 12:38:56 -08:00
ci code changes to drop the vendor dir 2021-12-21 14:23:38 -07:00
clean Scripts cleanup 2019-01-25 22:09:46 -07:00
download Check the k3s-root sha256sum 2026-04-02 12:17:39 +02:00
entry.sh Clean up build scripts 2019-01-24 10:51:37 -07:00
git_version.sh Remove remaining references to drone 2025-11-24 11:23:49 -08:00
image_scan.sh Use channel.yaml instead of curling for stable for kubectl install (#13531) 2026-02-03 17:18:16 -08:00
manifest Remove remaining references to drone 2025-11-24 11:23:49 -08:00
package Move Windows compilation test to GH Actions and enable integration/coverage 2025-02-07 07:46:19 -08:00
package-airgap Move sha256sum from workflow to script 2025-12-15 19:27:56 -08:00
package-cli Fix reproducibility of embedded data tarball 2026-04-09 14:34:50 -07:00
package-image Remove remaining references to drone 2025-11-24 11:23:49 -08:00
sonobuoy-config.json Add e2e testing 2019-04-30 10:16:41 -07:00
tag-image-latest Tag PR image build as latest before scanning 2024-09-05 15:21:56 -07:00
test Remove remaining references to drone 2025-11-24 11:23:49 -08:00
test-mods Fix test-mods to allow for pinning version from k8s.io 2022-11-03 15:32:41 -07:00
validate Bump golangci-lint for go1.25 2025-12-18 11:20:07 -08:00
validate-artifacts Validate collected files for release 2025-12-15 19:27:56 -08:00
version.sh Check the k3s-root sha256sum 2026-04-02 12:17:39 +02:00