Skip to content

Commit

Permalink
Make integration.sh not to fail when compose up succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
dkropachev committed Jun 4, 2024
1 parent b7ff129 commit 389c252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function scylla_up() {

echo "==> Running Scylla ${SCYLLA_IMAGE}"
docker pull ${SCYLLA_IMAGE}
docker compose up -d --wait || docker compose ps --format json | jq -M 'select(.Health == "unhealthy") | .Service' | xargs docker compose logs && exit 1
docker compose up -d --wait || ( docker compose ps --format json | jq -M 'select(.Health == "unhealthy") | .Service' | xargs docker compose logs; exit 1 )
}

function scylla_down() {
Expand Down

0 comments on commit 389c252

Please sign in to comment.