Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-help-and-docs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-web
ensembl-help-and-docs
Commits
bb81cfcd
Commit
bb81cfcd
authored
1 year ago
by
Andres Veidenberg
Browse files
Options
Downloads
Patches
Plain Diff
K8s migration
parent
4381d4d1
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
K8s migration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
with
20 additions
and
0 deletions
.gitlab-ci.yml
+
20
−
0
View file @
bb81cfcd
...
...
@@ -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"'
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment