mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Fix circleci
This commit is contained in:
parent
c57647d82b
commit
0cb3988500
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
if curl -sL -w "%{http_code}\\n" "http://localhost/" -o /dev/null > /dev/null; then
|
||||
if [ "$(curl -sL -w "%{http_code}\\n" "http://localhost/" -o /dev/null)" == "200" ]; then
|
||||
echo "Successfully contacted BTCPayServer"
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
|
@ -4,7 +4,8 @@ set -e
|
||||
|
||||
cd ..
|
||||
|
||||
export BTCPAY_HOST="btcpay.example.local"
|
||||
export BTCPAY_HOST="btcpay.local"
|
||||
export REVERSEPROXY_DEFAULT_HOST="btcpay.local"
|
||||
export NBITCOIN_NETWORK="mainnet"
|
||||
export BTCPAYGEN_CRYPTO1="btc"
|
||||
export BTCPAYGEN_CRYPTO2="ltc"
|
||||
@ -12,7 +13,7 @@ export BTCPAYGEN_REVERSEPROXY="nginx"
|
||||
export BTCPAYGEN_LIGHTNING="clightning"
|
||||
source ./btcpay-setup.sh -i
|
||||
|
||||
timeout 10m bash test-connectivity.sh
|
||||
timeout 10m bash .circleci/test-connectivity.sh
|
||||
|
||||
# Testing scripts are not crashing and installed
|
||||
btcpay-up.sh
|
||||
|
Loading…
Reference in New Issue
Block a user