-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
R4R: Infrastructure for reproducible builds (#4262)
This change set introduces support for building gaia with gitian on the following GOOS/GOARCH pairs: - darwin/386 - darwin/amd64 - linux/386 - linux/amd64 - linux/arm - linux/arm64 - windows/386 - windows/amd64 cmd/gaia/contrib/gitian-descriptors/ contains gitian descriptor files. cmd/gaia/contrib/gitian-keys/ contains: - a keys.txt file that is meant to list core developers and gitian builders PGP keys. - README.me to provide instructions on how to import the keys into one's personal GPG keyring. The gosum utility is removed, so is the go.sum hashsum bit from gaiacli/gaiad version string. It was meant to be a provisional mitigation to the lack of a reproducible build process. GOBIN is removed from all Makefiles. When GOBIN is set, go refuses to cross-compiles binaries for foreign architectures. export GOBIN=$GOPATH/bin is unnecessary anyway as by default go install places built binaries in $GOPATH/bin. Developers are required to update their enviornment files and replace $GOBIN with $GOPATH/bin in PATH. circleci configuration file is amended accordingly. Closes: #4027 Closes: #4280
- Loading branch information
Alessio Treglia
authored
May 13, 2019
1 parent
3439101
commit c0486aa
Showing
21 changed files
with
739 additions
and
116 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#4027 gaiad and gaiacli version commands do not return the checksum of the go.sum file shipped along with the source release tarball. | ||
Go modules feature guarantees dependencies reproducibility and as long as binaries are built via the Makefile shipped with the sources, no dependendencies can break such guarantee. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#4262 GoSumHash is no longer returned by the version command. |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.