Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUbOPEN Web
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
ChEMBL
EUbOPEN
EUbOPEN Web
Commits
dfc270cf
Commit
dfc270cf
authored
3 years ago
by
David Mendez
Browse files
Options
Downloads
Patches
Plain Diff
Deployment: add autoscaler from config repository
parent
de9c1da4
No related branches found
Branches containing commit
No related tags found
1 merge request
!60
Deployment: add autoscaler from config repository
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-2
10 additions, 2 deletions
.gitlab-ci.yml
with
10 additions
and
2 deletions
.gitlab-ci.yml
+
10
−
2
View file @
dfc270cf
...
...
@@ -14,9 +14,12 @@ variables:
CONFIGS_FOLDER
:
run_config
# Config staging
ENV_STAGING_FILE_PATH
:
${CONFIGS_FOLDER}/staging/.env
AUTOSCALER_STAGING_FILE_PATH
:
${CONFIGS_FOLDER}/staging/autoscaler.yml
# INGRESS_STAGING_FILE_PATH: ${CONFIGS_FOLDER}/staging/ingress.yml
# Config prod hx
ENV_PROD_HX_FILE_PATH
:
${CONFIGS_FOLDER}/prod_hx/.env
AUTOSCALER_PROD_HX_FILE_PATH
:
${CONFIGS_FOLDER}/prod_hx/autoscaler.yml
AUTOSCALER_PROD_HL_FILE_PATH
:
${CONFIGS_FOLDER}/prod_hh/autoscaler.yml
# Config prod hx
ENV_PROD_HH_FILE_PATH
:
${CONFIGS_FOLDER}/prod_hh/.env
...
...
@@ -192,8 +195,8 @@ deploy_to_staging:
-
cat k8s-deployment.yaml
-
kubectl apply -n ${CHEMBL_NS_STAGING} -f k8s-deployment.yaml
-
kubectl get pods -n ${CHEMBL_NS_STAGING}
-
cat ${AUTOSCALER_STAGING_FILE_PATH}
-
kubectl apply -n ${CHEMBL_NS_STAGING} -f ${AUTOSCALER_STAGING_FILE_PATH}
# ----------------------------------------------------------------------------------------------------------------------
...
...
@@ -230,6 +233,9 @@ deploy_to_prod_hx:
-
cat k8s-deployment.yaml
-
kubectl apply -n ${CHEMBL_NS_PROD} -f k8s-deployment.yaml
-
kubectl get pods -n ${CHEMBL_NS_PROD}
-
cat ${AUTOSCALER_PROD_HX_FILE_PATH}
-
kubectl apply -n ${CHEMBL_NS_PROD} -f ${AUTOSCALER_PROD_HX_FILE_PATH}
# ----------------------------------------------------------------------------------------------------------------------
# Deploy to prod hh
...
...
@@ -265,3 +271,5 @@ deploy_to_prod_hh:
-
cat k8s-deployment.yaml
-
kubectl apply -n ${CHEMBL_NS_PROD} -f k8s-deployment.yaml
-
kubectl get pods -n ${CHEMBL_NS_PROD}
-
cat ${AUTOSCALER_PROD_HL_FILE_PATH}
-
kubectl apply -n ${CHEMBL_NS_PROD} -f ${AUTOSCALER_PROD_HL_FILE_PATH}
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