Browse Source

Merge branch 'master' of https://gyulai.cloud/git/bme/covidok-backend

master
Daniel Gyulai 4 years ago
parent
commit
f378a5bd03
  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" helm install -f "$DIR/ci_values.yaml" -n "$NAMESPACE" "$HELM_PACKAGE" "$1"
i=0 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..." echo "Covidok backend is not yet ready..."
# Timeout is 200 sec, mysql should be available after 2 min # Timeout is 200 sec, mysql should be available after 2 min
if [ $i -gt 40 ] if [ $i -gt 40 ]

Loading…
Cancel
Save