Coder Social home page Coder Social logo

autobuilder's Introduction

autobuilder

Auto Gitian builder for NavCoin

autobuild.sh

This is the main script which must be run in background. ACCESS_TOKEN needs to be set to a valid GitHub access token.

build.sh

Bash script which takes three arguments (repo, branch and pr-id) and starts a build. MEMORY and JOBS should be set to valid values depending on the system specs.

Assumes:

  • Docker and jq installed in the system
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
sudo apt install docker-ce jq build-essential
  • WebServer with root folder in ~/public_html
  • An instance of gitian-builder in $HOME:
cd $HOME
git clone https://github.com/devrandom/gitian-builder.git
git checkout d36b85d4114cc055ed414cd872b24aabe494c394
bin/make-base-vm --docker --arch amd64 --suite bionic
pushd ./gitian-builder
mkdir -p inputs
wget -P inputs https://bitcoincore.org/cfields/osslsigncode-Backports-to-1.7.1.patch
wget -P inputs http://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz
cd inputs/
wget https://bitcoincore.org/depends-sources/sdks/MacOSX10.11.sdk.tar.gz

autobuilder's People

Contributors

navbuilder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.