Skip to content
Snippets Groups Projects
Commit bb81cfcd authored by Andres Veidenberg's avatar Andres Veidenberg
Browse files

K8s migration

parent 4381d4d1
No related branches found
No related tags found
1 merge request!1K8s migration
......@@ -19,6 +19,8 @@ variables:
- docker push ${DOCKER_IMAGE}
- docker rmi ${DOCKER_IMAGE}
- docker logout $CI_REGISTRY
rules:
- if: '$CI_DEPLOY_FREEZE == null && $CI_COMMIT_BRANCH == "k8s-migration"'
.deploy:
stage: deploy
......@@ -47,6 +49,17 @@ variables:
- kustomize edit set image DOCKER_IMAGE=${DOCKER_IMAGE}
- kustomize build . | kubectl apply -f -
# Template to deploy to staging, internal, prod
.deploy-wp40:
stage: deploy
image: dockerhub.ebi.ac.uk/ensembl-web/deploy-tools:0.6
script:
- git clone https://gitlab.ebi.ac.uk/ensembl-web/ensembl-k8s-manifests.git
- git -C ensembl-k8s-manifests/ checkout k8s123-migration
- cd ensembl-k8s-manifests/help-and-docs
- kustomize edit set image DOCKER_IMAGE=${DOCKER_IMAGE}
- kubectl apply -k ./
# Template to deploy to dev (Review apps)
.deploy-wp-review:
stage: deploy
......@@ -133,3 +146,10 @@ Live:WP-HH:
name : wp-hh-live
only:
- main
Live:wp40:HL:
extends: .deploy-wp40
environment:
name: wp40-hl-prod
rules:
- if: '$CI_DEPLOY_FREEZE == null && $CI_COMMIT_BRANCH == "k8s-migration"'
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