Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
test-cicd
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡凯旋
test-cicd
Commits
fd688ed4
Commit
fd688ed4
authored
Jan 15, 2019
by
胡凯旋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test ci
parent
9bcf4f18
Pipeline
#3
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
31 deletions
+31
-31
.gitlab-ci.yml
.gitlab-ci.yml
+31
-31
No files found.
.gitlab-ci.yml
View file @
fd688ed4
...
@@ -40,34 +40,34 @@ build_image:
...
@@ -40,34 +40,34 @@ build_image:
-
docker push ${IMAGE_TAG}
-
docker push ${IMAGE_TAG}
deploy_rpc_integration
:
#
deploy_rpc_integration
:
stage
:
deploy_integration
#
stage: deploy_integration
only
:
#
only:
-
master
#
- master
tags
:
#
tags:
-
deploy-integration
#
- deploy-integration
script
:
#
script:
-
kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
- kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
deploy_staging
:
#
deploy_staging:
stage
:
deploy_staging
#
stage: deploy_staging
only
:
#
only:
-
master
#
- master
tags
:
#
tags:
-
deploy-production
#
- deploy-production
when
:
manual
#
when: manual
script
:
#
script:
-
kubectl -n xyz-staging set image deploy/examples-celery "app=${IMAGE_TAG}" --record
#
- kubectl -n xyz-staging set image deploy/examples-celery "app=${IMAGE_TAG}" --record
-
kubectl -n xyz-staging set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
- kubectl -n xyz-staging set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
deploy_production
:
#
deploy_production:
stage
:
deploy_production
#
stage: deploy_production
only
:
#
only:
-
master
#
- master
tags
:
#
tags:
-
deploy-production
#
- deploy-production
when
:
manual
#
when: manual
script
:
#
script:
-
kubectl -n xyz set image deploy/examples-celery "app=${IMAGE_TAG}" --record
#
- kubectl -n xyz set image deploy/examples-celery "app=${IMAGE_TAG}" --record
-
kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
- kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
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