Commit 03019983 by 李二毛

Merge branch 'development' into 'release/staging'

测试发布预生产环境

See merge request liermao/microservice-autodevopspipelines!96
parents 4a4ab81d 894a2d53
Pipeline #4319 failed with stages
in 1 minute 0 seconds
......@@ -18,94 +18,146 @@ 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
- 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:
- 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