mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
CI: Try docker-compose pull several times
This commit is contained in:
parent
23a1a8e3f5
commit
d90cc02e5a
@ -4,6 +4,15 @@ set -e
|
|||||||
cd ../BTCPayServer.Tests
|
cd ../BTCPayServer.Tests
|
||||||
docker-compose -v
|
docker-compose -v
|
||||||
docker-compose -f "docker-compose.altcoins.yml" down --v
|
docker-compose -f "docker-compose.altcoins.yml" down --v
|
||||||
docker-compose -f "docker-compose.altcoins.yml" pull
|
|
||||||
|
# For some reason, docker-compose pull fails time to time, so we try several times
|
||||||
|
n=0
|
||||||
|
until [ "$n" -ge 10 ]
|
||||||
|
do
|
||||||
|
docker-compose -f "docker-compose.altcoins.yml" pull && break
|
||||||
|
n=$((n+1))
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
|
||||||
docker-compose -f "docker-compose.altcoins.yml" build
|
docker-compose -f "docker-compose.altcoins.yml" build
|
||||||
docker-compose -f "docker-compose.altcoins.yml" run -e "TEST_FILTERS=$1" tests
|
docker-compose -f "docker-compose.altcoins.yml" run -e "TEST_FILTERS=$1" tests
|
||||||
|
Loading…
Reference in New Issue
Block a user