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

Merge branch 'azure-aks' into 'master'

Azure Pipeline Bug fix for helm install

See merge request !44
parents 2668d44a c5ce42e9
Pipeline #6863 passed with stages
in 15 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