put the env vars in the env section of the github action configs w/ burnettk
This commit is contained in:
parent
279e3042c0
commit
00d8eb5541
|
@ -20,3 +20,4 @@ while [[ "$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:${port}/v1.
|
||||||
attempts=$(( attempts + 1 ))
|
attempts=$(( attempts + 1 ))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
echo "backend up"
|
||||||
|
|
|
@ -10,7 +10,7 @@ set -o errtrace -o errexit -o nounset -o pipefail
|
||||||
max_attempts="${1:-100}"
|
max_attempts="${1:-100}"
|
||||||
port="${2:-7002}"
|
port="${2:-7002}"
|
||||||
|
|
||||||
echo "waiting for backend to come up..."
|
echo "waiting for keycloak to come up..."
|
||||||
attempts=0
|
attempts=0
|
||||||
while [[ "$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:${port}/realms/master/.well-known/openid-configuration")" != "200" ]]; do
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:${port}/realms/master/.well-known/openid-configuration")" != "200" ]]; do
|
||||||
if [[ "$attempts" -gt "$max_attempts" ]]; then
|
if [[ "$attempts" -gt "$max_attempts" ]]; then
|
||||||
|
@ -20,3 +20,4 @@ while [[ "$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:${port}/rea
|
||||||
attempts=$(( attempts + 1 ))
|
attempts=$(( attempts + 1 ))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
echo "keycloak up"
|
||||||
|
|
Loading…
Reference in New Issue