Commit f4dbf471 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Updated Azure Pipeline timeout period for pod condition=READY

parent 11d949c0
Pipeline #14959 passed with stages
in 17 seconds
......@@ -170,7 +170,7 @@ azure_deploy:
# Install Service
- helm upgrade -i osdu-gitlab-$CI_PROJECT_NAME chart --set image.repository=${AZURE_REGISTRY} --set image.branch=$BRANCH --set image.tag=$TAG
- pod=$(kubectl get pod -n osdu|grep $CI_PROJECT_NAME |tail -1 |awk '{print $1}')
- status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=200s)
- status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=300s)
- if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment