feat: add workflow to build + test docker container (#1278)

This commit is contained in:
Sarah Wooders
2024-04-21 17:58:09 -07:00
committed by GitHub
parent 132c789ec5
commit 416ed3fad9
14 changed files with 232 additions and 144 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
# wait-for-it.sh
set -e
host="$1"
shift
cmd="$@"
until curl -s "$host" > /dev/null; do
>&2 echo "Service is unavailable - sleeping"
sleep 1
done
>&2 echo "Service is up - executing command"
exec $cmd