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

Azure Pipeline Bug fix for helm install

parent 963a515d
Pipeline #6860 passed with stage
in 9 seconds
......@@ -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
......
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