Browse Source

Fix helm_test script

master
Gyulai Dániel 4 years ago
parent
commit
41a44dd066
  1. 2
      ci/helm_test.sh

2
ci/helm_test.sh

@ -21,7 +21,7 @@ kubectl create namespace "$NAMESPACE"
helm install -f "$DIR/ci_values.yaml" -n "$NAMESPACE" "$HELM_PACKAGE" "$1"
i=0
while [[ ! $(kubectl get pod -n "$NAMESPACE" -l=app.kubernetes.io/name=covidok -o jsonpath='{.items[*].status.containerStatuses[0].ready}') == *"false"* ]]; do
while [[ $(kubectl get pod -n "$NAMESPACE" -l=app.kubernetes.io/name=covidok -o jsonpath='{.items[*].status.containerStatuses[0].ready}') == *"false"* ]]; do
echo "Covidok backend is not yet ready..."
# Timeout is 200 sec, mysql should be available after 2 min
if [ $i -gt 40 ]

Loading…
Cancel
Save