Skip to content

Commit

Permalink
CI: Wait for docker-compose to start
Browse files Browse the repository at this point in the history
This stops race-conditions where the Bazel build fails because the
workers have not had time to start. This is done in a two-phase up and
then wait, to allow us to suppress errors from the wait. It seems wait
complains after the runner_installer exits normally.
  • Loading branch information
stagnation authored and moroten committed Feb 29, 2024
1 parent 53fe33b commit a8234ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/test-deployment-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ trap cleanup EXIT
# --- Run remote execution ---
rm -rf volumes/storage-*
./run.sh -d
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
Expand Down

0 comments on commit a8234ed

Please sign in to comment.