diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 191e6ec..18d9da6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,7 +106,7 @@ deploy-fallback: - mkdir -p /root/.kube - echo ${PFALLBACK_KUBECONFIG} | base64 -d > /root/.kube/config - helm init --stable-repo-url https://charts.helm.sh/stable - #- helm delete --purge gwas-curation-service || true + - helm delete --purge gwas-curation-service || true - helm install --name gwas-curation-service --set k8Namespace=gwas,replicaCount=1,image.env.envName=prod-fallback,image.repository=$BACKEND_REGISTRY_IMAGE,image.tag=$CI_COMMIT_SHA,image.env.dbUser=gwasdepo,image.env.secretsName=prod-secrets,image.env.secretsKey=db-backend,image.env.rabbitSecretsName=prod-secrets,image.env.rabbitSecretsKey=rabbitmq-password ./k8chart/ --wait environment: name: prod @@ -121,7 +121,7 @@ deploy-live: - mkdir -p /root/.kube - echo ${PLIVE_KUBECONFIG} | base64 -d > /root/.kube/config - helm init --stable-repo-url https://charts.helm.sh/stable - #- helm delete --purge gwas-curation-service || true + - helm delete --purge gwas-curation-service || true - helm install --name gwas-curation-service --set k8Namespace=gwas,replicaCount=1,image.env.envName=prod,image.repository=$BACKEND_REGISTRY_IMAGE,image.tag=$CI_COMMIT_SHA,image.env.dbUser=gwasdepo,image.env.secretsName=prod-secrets,image.env.secretsKey=db-backend,image.env.rabbitSecretsName=prod-secrets,image.env.rabbitSecretsKey=rabbitmq-password ./k8chart/ --wait environment: name: prod