From 7949fa42096d2cd32e6b8fa19246ff28df60ef22 Mon Sep 17 00:00:00 2001 From: Nils Wireklint Date: Fri, 1 Mar 2024 12:41:21 +0100 Subject: [PATCH] Fix incorrect docker compose wait command The recent change #129 used the old 'docker-compose', which did not have the '--wait' flag. This keeps the composition modern in line with #126 . --- tools/test-deployment-docker-compose.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test-deployment-docker-compose.sh b/tools/test-deployment-docker-compose.sh index 1d37b3d..a08f8f0 100755 --- a/tools/test-deployment-docker-compose.sh +++ b/tools/test-deployment-docker-compose.sh @@ -19,7 +19,8 @@ trap cleanup EXIT # --- Run remote execution --- rm -rf volumes/storage-* ./run.sh -d -docker-compose up --wait || true +# NB: 'up' exits with non-zero exit code. +docker compose up --wait || true bazel_command_log="$(bazel info output_base)/command.log" bazel clean bazel test --color=no --curses=no --config=remote-ubuntu-22-04 --disk_cache= @abseil-hello//:hello_test