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

Deployment removal

parent b95f5e01
Pipeline #6785 passed with stage
in 6 seconds
......@@ -244,7 +244,7 @@ azure_containerize_aks:
stage: containerize
needs: ["compile-and-unit-test"]
variables:
SHA_IMAGE: ${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}
SHA_IMAGE: ${c}-${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
......@@ -327,8 +327,8 @@ azure_deploy_aks:
- cd devops/azure
# Delete Service
- kubectl delete deployment osdu-gitlab-$AZURE_SERVICE
- kubectl delete service osdu-gitlab-$AZURE_SERVICE
- kubectl delete deployment osdu-gitlab-$CI_PROJECT_NAME
- kubectl delete service osdu-gitlab-$CI_PROJECT_NAME
# 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