Skip to content

Commit

Permalink
Fix docker compose test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed May 30, 2024
1 parent 311ba7b commit 822a65c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ docker compose --profile mainnet up -d
docker compose --profile testnet up -d

# wait for counterparty-core to be ready
while [ "$(docker compose logs counterparty-core 2>&1 | grep 'Catch up done.')" = "" ]; do
while [ "$(docker compose logs counterparty-core 2>&1 | grep 'Catch up complete.')" = "" ]; do
echo "Waiting for counterparty-core mainnet to be ready"
sleep 1
done

while [ "$(docker compose logs counterparty-core-testnet 2>&1 | grep 'Catch up done.')" = "" ]; do
while [ "$(docker compose logs counterparty-core-testnet 2>&1 | grep 'Catch up complete.')" = "" ]; do
echo "Waiting for counterparty-core testnet to be ready"
sleep 1
done
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Compose

on:
push:
branches: ['develop', 'master', "tweakapi"]
branches: ['develop', 'master', "fixes"]

jobs:
build:
Expand Down

0 comments on commit 822a65c

Please sign in to comment.