From 0aa93e241be42e33b59fdc2a367d073a75d2f71e Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Thu, 8 Feb 2024 11:48:31 -0500 Subject: [PATCH] Use bitcoin's run.sh in GH CI --- .github/actions/bitcoin/action.yml | 9 +-------- orchestration/dev/coins/bitcoin/run.sh | 3 ++- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/actions/bitcoin/action.yml b/.github/actions/bitcoin/action.yml index e15cc26e9..903108680 100644 --- a/.github/actions/bitcoin/action.yml +++ b/.github/actions/bitcoin/action.yml @@ -37,11 +37,4 @@ runs: - name: Bitcoin Regtest Daemon shell: bash - run: | - RPC_USER=serai - RPC_PASS=seraidex - - bitcoind -txindex -regtest \ - -rpcuser=$RPC_USER -rpcpassword=$RPC_PASS \ - -rpcbind=127.0.0.1 -rpcbind=$(hostname) -rpcallowip=0.0.0.0/0 \ - -daemon + run: PATH=$PATH:/usr/bin ./orchestration/dev/coins/bitcoin/run.sh -daemon diff --git a/orchestration/dev/coins/bitcoin/run.sh b/orchestration/dev/coins/bitcoin/run.sh index a1d89b696..36ea9532a 100755 --- a/orchestration/dev/coins/bitcoin/run.sh +++ b/orchestration/dev/coins/bitcoin/run.sh @@ -6,4 +6,5 @@ RPC_PASS="${RPC_PASS:=seraidex}" bitcoind -txindex -regtest --port=8333 \ -rpcuser=$RPC_USER -rpcpassword=$RPC_PASS \ -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -rpcport=8332 \ - --datadir=/volume + --datadir=/volume \ + $1