Skip to content

Instantly share code, notes, and snippets.

@einalex
Created May 19, 2018 09:17
Show Gist options
  • Save einalex/74e880d4ba759db4ea475a4286b72d00 to your computer and use it in GitHub Desktop.
Save einalex/74e880d4ba759db4ea475a4286b72d00 to your computer and use it in GitHub Desktop.
Gitian setup
#!/bin/sh
####################
# SETUP THEN REBOOT
export BRANCH=dev-3.x-gitian
export GITIAN_SIGNER=einalex
git clone https://github.com/syscoin/syscoin
pushd syscoin
git checkout $BRANCH
git pull
popd
cp syscoin/contrib/gitian-build.sh .
chmod +x gitian-build.sh
./gitian-build.sh --setup --lxc --ec2 $GITIAN_SIGNER
sudo init 6
####################
# DO GITIAN BUILD
export COMMIT=7113e18
./gitian-build.sh --build --lxc $GITIAN_SIGNER $COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment