Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from galpHub/UpdateMaster
Update master
- Loading branch information
Showing
474 changed files
with
17,604 additions
and
13,579 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
continous_integration_task: | ||
container: | ||
dockerfile: divi/DockerfileForCI | ||
test_script: | ||
- pushd divi/qa/rpc-tests && split --numeric-suffixes --lines=60 test_list.txt test_list && rm test_list.txt && popd | ||
- pushd divi/src/GMock && autoreconf -fvi && popd | ||
- pushd divi/ && { make distclean || true ; } && ./autogen.sh && ./configure --without-gui NO_QT=1 && popd | ||
- pushd divi/ && make && make -j check && popd | ||
- pushd divi/qa/rpc-tests && ./test_runner.py --test_suite_file test_list00 --exclude proxy_test.py,rpcbind_test.py --jobs=1 --cli_timeout=60.0 && popd | ||
- pushd divi/qa/rpc-tests && ./test_runner.py --test_suite_file test_list01 --exclude proxy_test.py,rpcbind_test.py --jobs=1 --cli_timeout=60.0 && popd |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ doxygen/* | |
developer_stuff | ||
documents/* | ||
doxygen/ | ||
*/divi_regtest/* |
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 |
---|---|---|
@@ -1,25 +0,0 @@ | ||
b064ff156dad8c5e60e5b836bbe79ad0094faf4a | ||
e3f9a6592f18bded5b4355880707a8be9488f0ee | ||
f7e41254d2357b23184367a0f4d305feb9709702 | ||
0e85c951d20c61298a295717ffed3795072435d2 | ||
fb7c7142cbeddc3a07b2182a40cd2ccdfcafd851 | ||
2d996d92af6f698c847daa2192876624afdc8108 | ||
c486ba3ced3f9840bb5b8b7906d6f7c73032eddf | ||
13d3eb96e89e329e8f42d21cb9e3821af7266ad1 | ||
44bc2d0f1560fd3b44c2e24ba338a058744e642b | ||
5b15ae43174cb2d884726ce7002557940298e01a | ||
1a9c10df4119a56a5038d472fad79b1788883f8a | ||
320f3c57f4ebf8485d6021db121631741c021eb6 | ||
06db2f697a30bc960402faee048c1fb3549285cc | ||
0adb94a83698c9c4b787509ce2a3db91533221f3 | ||
1b424747ceeb744362ec18b6dc6a1ca829921d73 | ||
1b2613983a029fd7e332fdb57338050c71d338ab | ||
515ee8b9d0ed7c2dc246def30882c31ac913ee60 | ||
119fe55587f5593bccac1f0573c8d22a4a9731bb | ||
987d866a1573a29c3bc0314a7f3b38489674b325 | ||
d501f3dbb061306940b792454a5a6852d3e1428c | ||
5eb5b40d08214af2545408eea1e7158ddb1368dc | ||
8b10201f2f07e93ea4582e5b8c465beab764e6cb | ||
ee1328d04749b0ca93b1bd8be79ea50679568410 | ||
23b4e8afb8771f51db9446b845f430545f78749a | ||
f5cc2c1f383531571858270ccc78578382fdc254 | ||
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# This tool was designed to be used in an Ubuntu 18.04 environment | ||
# It provides a quick way of building divi binaries without all the | ||
# maneuvering that's otherwise required. A few dependencies like the MacOSX10.9 sdk | ||
# as well as the raspberrypi-tools. These are downloaded as part of the tidy_build.sh | ||
# but require care as these tools have not been thoroughly tested against careless | ||
# usage. | ||
# First time usage should be './continuous_build.sh clean' | ||
# Later usages that wish to skip the download of the 3rd party dependencies | ||
# can ommit the call to clean | ||
# Note that these deployment scripts point to a specific remote repo and branch | ||
# namely the development branch being managed by @galpHub. These should be updated | ||
# whenever these change | ||
Release Process Procedure (For Ubuntu 20.04 OS base machine - e.g. Digital Ocean) | ||
* sudo apt-get update | ||
* sudo apt-get -y upgrade | ||
* sudo apt-get install -y ruby rename | ||
* git clone --depth=1 <development-repo> Divi | ||
* cp Divi/DeploymentScripts DeploymentScripts && cd DeploymentScripts | ||
* ./install_docker_20-04.sh | ||
* sudo chmod +x download_dependencies.sh continuous_build.sh tidy_build.sh build.sh | ||
* ./download_dependencies.sh | ||
If development binaries are desired: | ||
* rm LastBuiltDevelopment && nohup ./continuous_build.sh dev > build_process.log 2>&1 & | ||
If production binaries are desired: | ||
* rm LastBuiltDevelopment && nohup ./continuous_build.sh > build_process.log 2>&1 & | ||
|
||
## Pre-requisites to be run in ~/build_dependencies | ||
# curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz | tar -xJf - && | ||
# tar -cJf MacOSX10.9.sdk.tar.xz ./ && | ||
# rm -r MacOSX10.9.sdk && | ||
# git clone -q https://github.com/raspberrypi/tools.git && tar -czf raspberrypi-tools.tar.gz ./tools && | ||
# rm -rf ./tools | ||
Additonal notes: | ||
* Should have at least 4 ram and 2 cpus of hardware for building | ||
* Built binaries are stored under /divi_binaries/ | ||
* LastBuiltDevelopment is a list of recently built commit hashes. The build process ignores the last commit hash in this file. | ||
* It's important to run the build process in the background as it can slow down the reponsiveness of the shell on which it executes potentially cancelling the build in the event of disconnection |
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 was deleted.
Oops, something went wrong.
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
File renamed without changes.
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,8 @@ | ||
apt-get update && | ||
apt-get -y install sudo && | ||
sudo apt install -y 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 focal stable" && | ||
apt-cache policy docker-ce && | ||
apt-cache search docker-ce && | ||
sudo apt install -y docker-ce |
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
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,30 @@ | ||
FROM ubuntu:bionic | ||
|
||
WORKDIR /app | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install apt-utils -y | ||
RUN apt-get install bsdmainutils -y | ||
RUN apt-get install software-properties-common -y | ||
RUN add-apt-repository ppa:bitcoin/bitcoin -y | ||
RUN apt-get update | ||
|
||
RUN apt-get install make -y | ||
RUN apt-get install gcc -y | ||
RUN apt-get install g++ -y | ||
RUN apt-get install pkg-config -y | ||
RUN apt-get install autoconf -y | ||
RUN apt-get install libtool -y | ||
RUN apt-get install libboost-all-dev -y | ||
RUN apt-get install libssl1.0-dev -y | ||
RUN apt-get install libevent-dev -y | ||
RUN apt-get install libdb4.8-dev libdb4.8++-dev -y | ||
RUN apt-get install libzmq3-dev -y | ||
RUN apt-get install python3.8 -y | ||
RUN apt-get install python3-zmq -y | ||
RUN apt-get install python3-pip -y | ||
RUN pip3 install zmq | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
|
||
CMD ["bash"] |
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,32 @@ | ||
FROM ubuntu:bionic | ||
|
||
RUN apt-get update | ||
RUN apt-get install apt-utils -y | ||
RUN apt-get install bsdmainutils -y | ||
RUN apt-get install software-properties-common -y | ||
RUN add-apt-repository ppa:bitcoin/bitcoin -y | ||
RUN apt-get update | ||
|
||
RUN apt-get install make -y | ||
RUN apt-get install gcc -y | ||
RUN apt-get install g++ -y | ||
RUN apt-get install pkg-config -y | ||
RUN apt-get install autoconf -y | ||
RUN apt-get install libtool -y | ||
RUN apt-get install libboost-all-dev -y | ||
RUN apt-get install libssl1.0-dev -y | ||
RUN apt-get install libevent-dev -y | ||
RUN apt-get install libdb4.8-dev libdb4.8++-dev -y | ||
RUN apt-get install libzmq3-dev -y | ||
RUN apt-get install python3.8 -y | ||
RUN apt-get install python3-zmq -y | ||
RUN apt-get install python3-pip -y | ||
RUN pip3 install zmq | ||
|
||
RUN apt-get upgrade -y | ||
RUN apt-get -y install sudo | ||
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1001 ubuntu | ||
RUN echo "ubuntu:ubuntu" | chpasswd && adduser ubuntu sudo | ||
USER ubuntu | ||
|
||
CMD ["bash"] |
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
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
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.