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
d64334e8
Commit
d64334e8
authored
Jan 14, 2019
by
据说甜蜜呢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动伸缩服务实例job
parent
fb2e54bf
Pipeline
#4337
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
.gitlab-ci.yml
+24
-0
No files found.
.gitlab-ci.yml
View file @
d64334e8
...
...
@@ -10,6 +10,8 @@ stages:
-
is-k8s-ready
-
testing
-
clean-k8s
# Scaling
-
auto-scaling
build_job
:
stage
:
build
...
...
@@ -18,6 +20,7 @@ build_job:
tags
:
-
build
# Creation
staging_release-major_job
:
stage
:
release-major
script
:
...
...
@@ -36,6 +39,7 @@ prod_release-major_job:
tags
:
-
production
# Updating
staging_analysing-git-changes_job
:
stage
:
analysing-git-changes
script
:
...
...
@@ -161,3 +165,22 @@ prod_clean-k8s_job:
-
master
tags
:
-
production
# Scaling
staging_autoscaling_job
:
stage
:
auto-scaling
script
:
-
bash ./devops/PipeLines/AutoScaling.sh
only
:
-
scaling/staging
tags
:
-
staging
prod_auto-scaling_job
:
stage
:
auto-scaling
script
:
-
bash ./devops/PipeLines/AutoScaling.sh
only
:
-
scaling/production
tags
:
-
production
\ No newline at end of file
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