mirror of
https://github.com/romanz/electrs.git
synced 2026-08-20 13:27:31 +02:00
Probe metrics endpoint in CI
This commit is contained in:
parent
f9346d2a1d
commit
fe1bfe3bc1
2 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ RUN bitcoind -version && bitcoin-cli -version
|
|||
### Electrum ###
|
||||
# Clone latest Electrum wallet and a few test tools
|
||||
WORKDIR /build/
|
||||
RUN apt-get install -qqy git libsecp256k1-0 python3-cryptography python3-setuptools python3-pip jq
|
||||
RUN apt-get install -qqy git libsecp256k1-0 python3-cryptography python3-setuptools python3-pip jq curl
|
||||
RUN git clone --recurse-submodules https://github.com/spesmilo/electrum/ && cd electrum/ && git log -1
|
||||
RUN python3 -m pip install -e electrum/
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ electrs \
|
|||
2> data/electrs/regtest-debug.log &
|
||||
ELECTRS_PID=$!
|
||||
tail_log data/electrs/regtest-debug.log | grep -m1 "serving Electrum RPC"
|
||||
curl localhost:24224 -o metrics.txt
|
||||
|
||||
$ELECTRUM daemon --server localhost:60401:t -1 -vDEBUG 2> data/electrum/regtest-debug.log &
|
||||
ELECTRUM_PID=$!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue