Skip to content

Commit 316d046

Browse files
committed
ci: use my custom bitcoind binary
Corresponds to this branch: https://github.com/darosior/bitcoin/tree/merged_track_coins_descriptor_miniscript_watchonly Which contains: - The Miniscript support in Output Descriptors PR - The PR adding parent descriptors in listsinceblock entries - A custom patch for listsinceblock to optionally report change outputs
1 parent c8ed4f4 commit 316d046

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.cirrus.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ task:
99
VERBOSE: 0
1010
LOG_LEVEL: debug
1111
TIMEOUT: 300
12-
BITCOIND_VERSION: 23.0
13-
BITCOIND_DIR_NAME: "bitcoin-$BITCOIND_VERSION"
1412
matrix:
1513
- name: 'Misc functional tests'
1614
env:
@@ -67,10 +65,9 @@ task:
6765
set -xe
6866
6967
# Download the bitcoind binary
70-
ARCHIVE_NAME="$BITCOIND_DIR_NAME.tar.gz"
71-
curl https://bitcoincore.org/bin/bitcoin-core-$BITCOIND_VERSION/bitcoin-$BITCOIND_VERSION-x86_64-linux-gnu.tar.gz -o $ARCHIVE_NAME
72-
tar -xzf $ARCHIVE_NAME
73-
export BITCOIND_PATH=$BITCOIND_DIR_NAME/bin/bitcoind
68+
curl http://download.darosior.ninja/dump/bitcoind-patched-for-revaultd -o $(pwd)/bitcoind
69+
chmod +x $(pwd)/bitcoind
70+
export BITCOIND_PATH=$(pwd)/bitcoind
7471
7572
# Setup the postgres instance for the servers
7673
pg_ctlcluster 13 main start
@@ -80,4 +77,10 @@ task:
8077
# Run the functional tests
8178
REVAULTD_PATH=$PWD/target/release/revaultd pytest $TEST_GROUP -vvv -n 2
8279
80+
on_failure:
81+
debug_script:
82+
- tail -n1000 ./test_dir/revaultd-tests-*/test_*/log
83+
- tail -n1000 ./test_dir/revaultd-tests-*/test_*/regtest/debug.log
84+
- tail -n100 ./test_dir/revaultd-tests-*/test_*/revaultd-*/log
85+
8386
before_cache_script: rm -rf $CARGO_HOME/registry/index

0 commit comments

Comments
 (0)