Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CI-CD Pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MANISH KUMAR
CI-CD Pipelines
Commits
fc7900d5
Commit
fc7900d5
authored
4 years ago
by
Sheng Wang
Browse files
Options
Downloads
Patches
Plain Diff
Update azure.yml
parent
e06ee8f2
Branches
fix-azure-deploy
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cloud-providers/azure.yml
+2
-2
2 additions, 2 deletions
cloud-providers/azure.yml
with
2 additions
and
2 deletions
cloud-providers/azure.yml
+
2
−
2
View file @
fc7900d5
...
...
@@ -205,9 +205,9 @@ azure_deploy:
fi
# Install Service
-
helm upgrade -i osdu-gitlab-$
AZURE_SERVIC
E chart --set image.repository=${AZURE_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
-
helm upgrade -i osdu-gitlab-$
CI_PROJECT_NAM
E chart --set image.repository=${AZURE_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
# 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-$
AZURE_SERVIC
E -n osdu --timeout=900s
-
kubectl rollout status deployment.v1.apps/osdu-gitlab-$
CI_PROJECT_NAM
E -n osdu --timeout=900s
-
pod=$(kubectl get pod -n osdu|grep $AZURE_SERVICE |tail -1 |awk '{print $1}')
-
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment