Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
CI-CD Pipelines
Commits
031595f1
Commit
031595f1
authored
Dec 08, 2020
by
Hema Vishnu Pola [Microsoft]
Browse files
Increasing timeout to 900s.
parent
b884f3e0
Pipeline
#18296
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
cloud-providers/azure.yml
View file @
031595f1
...
@@ -190,7 +190,8 @@ azure_deploy:
...
@@ -190,7 +190,8 @@ azure_deploy:
# Install Service
# Install Service
-
helm upgrade -i osdu-gitlab-$CI_PROJECT_NAME chart --set image.repository=${AZURE_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
-
helm upgrade -i osdu-gitlab-$CI_PROJECT_NAME chart --set image.repository=${AZURE_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
-
kubectl rollout status deployment.v1.apps/osdu-gitlab-$CI_PROJECT_NAME -n osdu --timeout=300s
# Increasing to 900s as rolling updates are happening and each service is expected to have minimum 2 containers.
-
kubectl rollout status deployment.v1.apps/osdu-gitlab-$CI_PROJECT_NAME -n osdu --timeout=900s
-
pod=$(kubectl get pod -n osdu|grep $CI_PROJECT_NAME |tail -1 |awk '{print $1}')
-
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=300s)
-
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
-
if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment