Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
microservice-autodevopspipelines
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李春生
microservice-autodevopspipelines
Commits
18ced0d9
Commit
18ced0d9
authored
Jan 11, 2019
by
据说甜蜜呢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化脚本
parent
4fc8aabf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
.gitlab-ci.yml
+12
-12
No files found.
.gitlab-ci.yml
View file @
18ced0d9
...
@@ -38,7 +38,7 @@ prod-major_job:
...
@@ -38,7 +38,7 @@ prod-major_job:
tags
:
tags
:
-
production
-
production
staging-
analysing-git-changes_job
:
analysing-git-changes_job
:
stage
:
analysing-git-changes
stage
:
analysing-git-changes
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
@@ -48,7 +48,7 @@ staging-analysing-git-changes_job:
...
@@ -48,7 +48,7 @@ staging-analysing-git-changes_job:
tags
:
tags
:
-
staging
-
staging
s
taging-s
ynchronizing-config_job
:
synchronizing-config_job
:
stage
:
synchronizing-config
stage
:
synchronizing-config
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
@@ -58,7 +58,7 @@ staging-synchronizing-config_job:
...
@@ -58,7 +58,7 @@ staging-synchronizing-config_job:
tags
:
tags
:
-
staging
-
staging
staging-
ci_job
:
ci_job
:
stage
:
ci
stage
:
ci
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
@@ -68,21 +68,21 @@ staging-ci_job:
...
@@ -68,21 +68,21 @@ staging-ci_job:
tags
:
tags
:
-
staging
-
staging
staging-
cd_job
:
cd_job
:
stage
:
cd
stage
:
cd
variables
:
CI_DEBUG_TRACE
:
"
true"
script
:
script
:
-
echo ${CI_DEPLOY_USER}
-
# Import external functions
-
echo ${CI_COMMIT_REF_NAME}
-
chmod +x ./devops/PipeLines/Functions.common.sh
-
export Environment='Staging'
-
source ./devops/PipeLines/Functions.common.sh
-
FirstCharUpperCase $CI_COMMIT_REF_NAME environment
-
export Environment=${environment}
-
bash ./devops/PipeLines/Updating/004_CD.sh
-
bash ./devops/PipeLines/Updating/004_CD.sh
only
:
only
:
-
staging
-
staging
tags
:
tags
:
-
staging
-
staging
staging-
is-k8s-ready_job
:
is-k8s-ready_job
:
stage
:
is-k8s-ready
stage
:
is-k8s-ready
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
@@ -92,7 +92,7 @@ staging-is-k8s-ready_job:
...
@@ -92,7 +92,7 @@ staging-is-k8s-ready_job:
tags
:
tags
:
-
staging
-
staging
staging-
testing_job
:
testing_job
:
stage
:
testing
stage
:
testing
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
@@ -102,7 +102,7 @@ staging-testing_job:
...
@@ -102,7 +102,7 @@ staging-testing_job:
tags
:
tags
:
-
staging
-
staging
staging-
clean-k8s_job
:
clean-k8s_job
:
stage
:
clean-k8s
stage
:
clean-k8s
script
:
script
:
-
export Environment='Staging'
-
export Environment='Staging'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment