Commit d64334e8 by 据说甜蜜呢

添加自动伸缩服务实例job

parent fb2e54bf
Pipeline #4337 passed with stage
in 24 seconds
......@@ -10,6 +10,8 @@ stages:
- is-k8s-ready
- testing
- clean-k8s
# Scaling
- auto-scaling
build_job:
stage: build
......@@ -18,6 +20,7 @@ build_job:
tags:
- build
# Creation
staging_release-major_job:
stage: release-major
script:
......@@ -36,6 +39,7 @@ prod_release-major_job:
tags:
- production
# Updating
staging_analysing-git-changes_job:
stage: analysing-git-changes
script:
......@@ -160,4 +164,23 @@ prod_clean-k8s_job:
only:
- master
tags:
- production
# Scaling
staging_autoscaling_job:
stage: auto-scaling
script:
- bash ./devops/PipeLines/AutoScaling.sh
only:
- scaling/staging
tags:
- staging
prod_auto-scaling_job:
stage: auto-scaling
script:
- bash ./devops/PipeLines/AutoScaling.sh
only:
- scaling/production
tags:
- production
\ No newline at end of file
Markdown is supported
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