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

Bug Fix

parent ef7cd349
Pipeline #6788 passed with stage
in 6 seconds
......@@ -244,7 +244,7 @@ azure_containerize_aks:
stage: containerize
needs: ["compile-and-unit-test"]
variables:
SHA_IMAGE: ${c}-${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}
SHA_IMAGE: ${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}
LATEST_IMAGE: ${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}:latest
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
......@@ -332,7 +332,7 @@ azure_deploy_aks:
# Install Service
- helm upgrade -i osdu-gitlab chart --set image.repository=${AZURE_AKS_REGISTRY}.azurecr.io --set image.branch=$BRANCH --set image.tag=$TAG
- pod=$(kubectl get pod -n osdu|grep $AZURE_SERVICE |awk '{print $1}')
- pod=$(kubectl get pod -n osdu|grep $CI_PROJECT_NAME |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
only:
......
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