|
|
|
@ -180,15 +180,21 @@ task:
|
|
|
|
|
populate_script: mkdir -p /tmp/bitcoind
|
|
|
|
|
install_script:
|
|
|
|
|
- apt-get update
|
|
|
|
|
- apt-get install -y dnssec-trigger
|
|
|
|
|
# Namecoin Core
|
|
|
|
|
- BITCOIND_URL=$(curl https://www.namecoin.org/download/ | grep x86_64-linux-gnu.tar.gz | grep -v 0.13.99 | grep --only-matching https://.*.tar.gz)
|
|
|
|
|
- BITCOIND_FILENAME=$(echo $BITCOIND_URL | grep -E --only-matching 'namecoin-nc.*.tar.gz')
|
|
|
|
|
- BITCOIND_PATH=/tmp/bitcoind/$BITCOIND_FILENAME
|
|
|
|
|
- tar -xaf $BITCOIND_PATH || (rm -f /tmp/bitcoind/* && curl --output $BITCOIND_PATH $BITCOIND_URL && tar -xaf $BITCOIND_PATH)
|
|
|
|
|
- cp -a namecoin-*/* /usr/
|
|
|
|
|
# ncdns
|
|
|
|
|
- NCDNS_URL=https://api.cirrus-ci.com/v1/artifact/build/$CIRRUS_BUILD_ID/Cross-Compile%20Go%20$GO_VERSION/binaries/dist/ncdns--linux_amd64.tar.gz
|
|
|
|
|
- curl -o ncdns.tar.gz $NCDNS_URL
|
|
|
|
|
- tar -xaf ncdns.tar.gz
|
|
|
|
|
- cp -a ncdns--*/* /usr/
|
|
|
|
|
# Configure DNSSEC-Trigger
|
|
|
|
|
- cp _doc/unbound.conf.d/ncdns.conf _doc/unbound.conf.d/ncdns-insecure.conf /etc/unbound/unbound.conf.d
|
|
|
|
|
- systemctl restart unbound
|
|
|
|
|
bitcoind_service_background_script:
|
|
|
|
|
- testdata/run_bitcoind.sh
|
|
|
|
|
ncdns_service_background_script:
|
|
|
|
|