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

Updated

parent 9c9364f8
Pipeline #6776 passed with stage
in 8 seconds
......@@ -232,7 +232,7 @@ azure_containerize:
- docker push ${AZURE_BASE}cr.azurecr.io/$IMAGE:latest
only:
variables:
- $AZURE == 'true'
- $AZURE == 'true' && $AZURE_AKS == 'true'
except:
variables:
- $AZURE_DEBUG == 'true'
......@@ -278,7 +278,7 @@ azure_containerize_aks:
- docker push ${AZURE_AKS_REGISTRY}.azurecr.io/$LATEST_IMAGE
only:
variables:
- $AZURE == 'true'
- $AZURE == 'true' && $AZURE_AKS == 'true'
except:
variables:
- $AZURE_DEBUG == 'true'
......@@ -325,7 +325,7 @@ azure_deploy_aks:
script:
- az aks get-credentials -g $AZURE_UNIQUE-rg -n $AZURE_UNIQUE-aks
- cd devops/azure
- helm upgrade -i osdu-gitlab chart --set image.branch=$BRANCH --set image.tag=$TAG
- helm upgrade -i osdu-gitlab chart --set image.repository=${AZURE_AKS_REGISTRY}.azurecr.io/${CI_PROJECT_NAME} --set image.branch=$BRANCH --set image.tag=$TAG
- pod=$(kubectl get pod -n osdu|grep $AZURE_SERVICE |awk '{print $1}')
- status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=60s)
- if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
......
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