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
c5ce42e9
Commit
c5ce42e9
authored
Aug 31, 2020
by
Daniel Scholl
Browse files
Azure Pipeline Bug fix for helm install
parent
963a515d
Pipeline
#6860
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cloud-providers/azure.yml
View file @
c5ce42e9
...
...
@@ -321,14 +321,9 @@ azure_deploy_aks:
before_script
:
-
az login --service-principal -u $AZURE_AKS_PRINCIPAL_ID -p $AZURE_AKS_PRINCIPAL_SECRET --tenant $AZURE_TENANT_ID
-
az aks get-credentials -g $AZURE_UNIQUE-rg -n $AZURE_UNIQUE-aks
-
echo "--set image.branch=$BRANCH --set image.tag=$TAG"
script
:
-
az aks get-credentials -g $AZURE_UNIQUE-rg -n $AZURE_UNIQUE-aks
-
cd devops/azure
# Delete Service
-
kubectl delete deployment -n osdu osdu-gitlab-$CI_PROJECT_NAME
-
kubectl delete service -n osdu osdu-gitlab-$CI_PROJECT_NAME
-
echo "--set image.branch=$BRANCH --set image.tag=$TAG"
# Install Service
-
helm upgrade -i osdu-gitlab chart --set image.repository=${AZURE_AKS_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
...
...
Write
Preview
Supports
Markdown
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