From a3fa27bf6426c5df8bab357b677079e28ce9ac4a Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 21 Sep 2023 21:01:58 +0600 Subject: [PATCH] EVEREST-107 wait for everest to be ready --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 8caf64b1..4100b072 100755 --- a/install.sh +++ b/install.sh @@ -39,6 +39,9 @@ echo "Deploying Backends using docker compose" curl -sL https://raw.githubusercontent.com/percona/percona-everest-backend/main/quickstart.yml -o quickstart.yml docker compose -f quickstart.yml up -d +while ! curl -s http://127.0.0.1:8080 &> /dev/null ; do + sleep 0.2 +done # If KUBECONFIG is set let the user know we are using it if [[ -n "${KUBECONFIG}" ]]; then