Commit 115d24cc by 李二毛

Merge branch 'development' into 'staging'

Development

See merge request liermao/microservice-autodevopspipelines!90
parents 3707004c 6f8eb666
Pipeline #4305 canceled with stages
in 16 seconds
......@@ -18,24 +18,16 @@ build_job:
tags:
- build
staging-major_job:
release-major_job:
stage: release-major
script:
- export Environment='Staging'
- bash ./devops/PipeLines/Creation/Creation_Pipeline.sh
only:
- rel/major
- release/staging
- release/production
tags:
- staging
prod-major_job:
stage: release-major
script:
- export Environment='Production'
- bash ./devops/PipeLines/Creation/Creation_Pipeline.sh
only:
- rel/major
tags:
- production
analysing-git-changes_job:
......@@ -45,8 +37,10 @@ analysing-git-changes_job:
- bash ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
only:
- staging
- production
tags:
- staging
- production
synchronizing-config_job:
stage: synchronizing-config
......
#!/bin/bash
# Import external functions
chmod +x ./devops/PipeLines/Functions.deploy.sh
source ./devops/PipeLines/Functions.deploy.sh
GetNameSpace namespace
echo ${namespace}
function CD()
{
declare namespace=$1
echo ${namespace}
}
CD ${namespace}
\ 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