Commit 139f1134 by 据说甜蜜呢

重构管道

parent 842aa4f1
Pipeline #4317 passed with stage
in 21 seconds
......@@ -18,94 +18,148 @@ build_job:
tags:
- build
release-major_job:
staging_release-major_job:
stage: release-major
script:
# Import external functions
- chmod +x ./devops/PipeLines/Functions.core.sh
- source ./devops/PipeLines/Functions.core.sh
- ReleaseEnvironmentOf environment
- export Environment=$environment
- bash ./devops/PipeLines/Creation/Creation_Pipeline.sh
# Import external functions
- bash ./devops/PipeLines/Creation/Creation_Pipeline.sh
only:
- release/staging
- release/production
- release/staging
tags:
- ${Environment}
- staging
analysing-git-changes_job:
prod_release-major_job:
stage: release-major
script:
# Import external functions
- bash ./devops/PipeLines/Creation/Creation_Pipeline.sh
only:
- release/production
tags:
- production
staging_analysing-git-changes_job:
stage: analysing-git-changes
script:
- bash ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
only:
- staging
tags:
- staging
staging_synchronizing-config_job:
stage: synchronizing-config
script:
- bash ./devops/PipeLines/Updating/002_SyncConfig.sh
only:
- staging
tags:
- staging
staging_ci_job:
stage: ci
script:
- bash ./devops/PipeLines/Updating/003_CI.sh
only:
- staging
tags:
- staging
staging_cd_job:
stage: cd
script:
- bash ./devops/PipeLines/Updating/004_CD.sh
only:
- staging
tags:
- staging
staging_is-k8s-ready_job:
stage: is-k8s-ready
script:
- bash ./devops/PipeLines/Updating/005_IsK8sReady.sh
only:
- staging
tags:
- staging
staging_testing_job:
stage: testing
script:
- bash ./devops/PipeLines/Updating/006_Testing.sh
only:
- staging
tags:
- staging
staging_clean-k8s_job:
stage: clean-k8s
script:
- bash ./devops/PipeLines/Updating/007_CleanK8s.sh
only:
- staging
tags:
- staging
prod_analysing-git-changes_job:
stage: analysing-git-changes
script:
- bash ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
synchronizing-config_job:
prod_synchronizing-config_job:
stage: synchronizing-config
script:
- bash ./devops/PipeLines/Updating/002_SyncConfig.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
ci_job:
prod_ci_job:
stage: ci
script:
- bash ./devops/PipeLines/Updating/003_CI.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
cd_job:
prod_cd_job:
stage: cd
script:
- bash ./devops/PipeLines/Updating/004_CD.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
is-k8s-ready_job:
prod_is-k8s-ready_job:
stage: is-k8s-ready
script:
- bash ./devops/PipeLines/Updating/005_IsK8sReady.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
testing_job:
prod_testing_job:
stage: testing
script:
- bash ./devops/PipeLines/Updating/006_Testing.sh
only:
- staging
- production
- master
tags:
- staging
- production
- production
clean-k8s_job:
prod_clean-k8s_job:
stage: clean-k8s
script:
- bash ./devops/PipeLines/Updating/007_CleanK8s.sh
only:
- staging
- production
- master
tags:
- staging
- production
\ No newline at end of file
- 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