Commit 96059ed5 by 据说甜蜜呢

优化脚本

parent 431a0d1e
Pipeline #4221 passed with stage
in 17 seconds
......@@ -15,6 +15,7 @@ build_job:
staging-major_job:
stage: release-major
script:
# global variable
- export Environment='Staging'
# 001 Continuous integration image to registry.
......@@ -36,6 +37,7 @@ staging-major_job:
prod-major_job:
stage: release-major
script:
# global variable
- export Environment='Production'
# 001 Continuous integration image to registry.
......@@ -57,8 +59,14 @@ prod-major_job:
staging-analysing-git-changes_job:
stage: analysing-git-changes
script:
# global variable
- export Environment='Staging'
# 001 Analysing git changes.
- bash +x ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
- bash +x ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
# 002 Synchronize config information to k8s's configmap.
- bash +x ./devops/PipeLines/Updating/002_SyncConfig.sh
only:
- staging
tags:
......
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