containerized-data-importer/hack/build/bazel-server.sh
Alexander Wels a67c64c338
initial bazelification of CDI (#986)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-10-15 15:55:44 -04:00

6 lines
232 B
Bash
Executable File

BAZEL_PID=$(bazel info | grep server_pid | cut -d " " -f 2)
while kill -0 $BAZEL_PID 2>/dev/null; do sleep 1; done
# Might not be necessary, just to be sure that exec shutdowns always succeed
# and are not killed by docker.
sleep 1