Page MenuHomePhabricator

Added build-all script to automate calling gitian builds for each platform
AbandonedPublic

Authored by jasonbcox on Nov 12 2018, 20:01.

Details

Reviewers
deadalnix
schancel
Group Reviewers
Restricted Project
Summary

Solves a few problems:

  1. Time is often lost between builds of each platform if the operator forgets to run them. This time is now reduced to zero.
  2. Releases have been inconsistent in their contents. Now, simply run the script, sign hashes of the contents, and tar the entire thing. No need to manually copy files from different locations.
  3. *-res.yml files will no longer be forgotten when building releases, as the script automatically includes them.
Test Plan

Follow instructions in gitian-building.md
/vagrant/contrib/devtools/build-all.sh
Observe that all build files for all platforms are available in <repo-path>/build/gitian/<platform-name>

Diff Detail

Repository
rABC Bitcoin ABC
Branch
buildall
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3865
Build 5803: Bitcoin ABC Buildbot (legacy)
Build 5802: arc lint + arc unit

Event Timeline

deadalnix requested changes to this revision.Nov 12 2018, 20:11
deadalnix added inline comments.
contrib/devtools/build-all.sh
38

There is a script that already exist to do this, and that supports the various virtualization method gitian supports.

doc/gitian-building.md
105

This is not something someone can type on a linux machine to run gitian builds.

Removing these instructions also ensure that people will go through hell rebuilding for all plateform if one of the build fails for some reason. The debugging experience will be pretty bad.

This revision now requires changes to proceed.Nov 12 2018, 20:11