Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hack: consistent checksums for archive files #141

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

ahmetb
Copy link
Member

@ahmetb ahmetb commented Dec 31, 2018

Use "gzip -n" to prevent gzip from changing timestamps and touch all timestamps
for files in out/bin with a static value to ensure .zip checksum consistency.

Fixes #112.

Use "gzip -n" to prevent gzip from changing timestamps and touch all timestamps
for files in out/bin with a static value to ensure .zip checksum consistency.

Fixes kubernetes-sigs#112.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
@ahmetb
Copy link
Member Author

ahmetb commented Dec 31, 2018

/cc @lbb

@codecov-io
Copy link

codecov-io commented Dec 31, 2018

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   51.64%   51.64%           
=======================================
  Files          12       12           
  Lines         608      608           
=======================================
  Hits          314      314           
  Misses        244      244           
  Partials       50       50

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c7927ab...5e41b3f. Read the comment docs.

@ahmetb
Copy link
Member Author

ahmetb commented Dec 31, 2018

Rebuilding a travis build produced consistent checksums, but ideally we'd need to pin to a go compiler/runtime version, too. I don't see a need for that yet.

@ahmetb ahmetb merged commit 4004e06 into kubernetes-sigs:master Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants