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

Fix GoReleaser oasis-node build reproducibility issue #2590

Merged
merged 6 commits into from
Jan 24, 2020

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Jan 23, 2020

Fixes #2571.

An example of how the new reproducibility workflow reports error: https://github.com/oasislabs/oasis-core/runs/405500021.

Previously, running "make release" inside GitHub Actions would always try
to create a real release as opposed to creating a local snapshot release.

From now on, the OASIS_CORE_REAL_RELEASE environment varible must be set
to "true" to instruct Make to create a real release.
GoReleaser doesn't support CGO and Oasis Core doesn't require it.
@codecov
Copy link

codecov bot commented Jan 23, 2020

Codecov Report

Merging #2590 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2590      +/-   ##
==========================================
- Coverage   63.28%   63.16%   -0.12%     
==========================================
  Files         357      357              
  Lines       33437    33437              
==========================================
- Hits        21159    21122      -37     
- Misses       9701     9712      +11     
- Partials     2577     2603      +26
Impacted Files Coverage Δ
go/worker/storage/service_internal.go 0% <0%> (-53.34%) ⬇️
go/worker/storage/api/grpc.go 20% <0%> (-22.86%) ⬇️
go/worker/common/host/interface.go 38.46% <0%> (-15.39%) ⬇️
go/control/debug.go 67.74% <0%> (-6.46%) ⬇️
go/worker/storage/service_external.go 54.54% <0%> (-3.64%) ⬇️
go/storage/mkvs/urkel/prefetch.go 59.32% <0%> (-3.39%) ⬇️
go/worker/storage/committee/node.go 73.85% <0%> (-3.24%) ⬇️
go/worker/common/p2p/p2p.go 64.86% <0%> (-2.71%) ⬇️
go/storage/metrics.go 70.53% <0%> (-2.68%) ⬇️
go/runtime/client/client.go 69.35% <0%> (-2.42%) ⬇️
... and 8 more

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 738d967...b7b8ad0. Read the comment docs.

@tjanez tjanez force-pushed the tjanez/fix-goreleaser-reproducibility branch 3 times, most recently from 953adf8 to afd4f86 Compare January 24, 2020 12:11
@tjanez tjanez force-pushed the tjanez/fix-goreleaser-reproducibility branch from afd4f86 to b7b8ad0 Compare January 24, 2020 12:58
@tjanez tjanez merged commit 73eb293 into master Jan 24, 2020
@tjanez tjanez deleted the tjanez/fix-goreleaser-reproducibility branch January 24, 2020 13:37
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.

oasis-node binaries made with GoReleaser via GitHub Actions are not reproducible
2 participants