From d4c4951d2d8d6928891485e6aeac431f2cb6eab4 Mon Sep 17 00:00:00 2001 From: Dmitry Kropachev Date: Mon, 3 Jun 2024 20:17:21 -0400 Subject: [PATCH] Print out logs of failed container --- integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration.sh b/integration.sh index 6598599d1..e15ef4ce3 100755 --- a/integration.sh +++ b/integration.sh @@ -12,7 +12,7 @@ function scylla_up() { echo "==> Running Scylla ${SCYLLA_IMAGE}" docker pull ${SCYLLA_IMAGE} - docker compose up -d --wait + 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() {