Commit 2c11dd6c by 据说甜蜜呢

添加回滚job

parent 95003cdb
Pipeline #4347 passed with stage
in 18 seconds
......@@ -12,6 +12,8 @@ stages:
- clean-k8s
# Scaling
- auto-scaling
# Roll back
- roll-back
build_job:
stage: build
......@@ -183,4 +185,23 @@ prod_auto-scaling_job:
only:
- scaling/production
tags:
- production
# Roll-back
staging_roll-back_job:
stage: roll-back
script:
- bash ./devops/PipeLines/RollBack.sh
only:
- rollback/staging
tags:
- staging
prod_roll-back_job:
stage: roll-back
script:
- bash ./devops/PipeLines/RollBack.sh
only:
- rollback/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