Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
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
钟尚武
sun
Commits
afbf305d
Commit
afbf305d
authored
Nov 22, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix drone
parent
d6765296
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
2 deletions
+46
-2
.drone.yml
.drone.yml
+46
-2
No files found.
.drone.yml
View file @
afbf305d
...
...
@@ -6,6 +6,9 @@ steps:
image
:
plugins/docker
when
:
branch
:
deploy/like-test
instance
:
exclude
:
-
cicd.iyanzhi.com
settings
:
dockerfile
:
deploy/test/Dockerfile
registry
:
ccr.ccs.tencentyun.com
...
...
@@ -19,6 +22,9 @@ steps:
image
:
plugins/docker
when
:
branch
:
deploy/like-stage
instance
:
exclude
:
-
cicd.gmapp.env
settings
:
dockerfile
:
deploy/stage/Dockerfile
registry
:
ccr.ccs.tencentyun.com
...
...
@@ -32,6 +38,9 @@ steps:
image
:
plugins/docker
when
:
branch
:
deploy/like-prod
instance
:
exclude
:
-
cicd.gmapp.env
settings
:
dockerfile
:
deploy/prod/Dockerfile
registry
:
ccr.ccs.tencentyun.com
...
...
@@ -47,9 +56,12 @@ steps:
environment
:
repo
:
alpha/sun
when
:
branch
:
-
deploy/like-prod
-
deploy/like-stage
instance
:
exclude
:
-
aidrone.iyanzhi.com
-
cicd.gmapp.env
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.yaml
...
...
@@ -60,15 +72,47 @@ steps:
environment
:
repo
:
alpha/sun
when
:
branch
:
-
deploy/like-prod
-
deploy/like-stage
instance
:
exclude
:
-
aidrone.iyanzhi.com
-
cicd.gmapp.env
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.celery.yaml
tag
:
${DRONE_COMMIT}
-
name
:
deploy-app-test
image
:
ccr.ccs.tencentyun.com/gm-ai/drone-kube:test
when
:
branch
:
-
deploy/like-test
instance
:
exclude
:
-
cicd.iyanzhi.com
environment
:
repo
:
alpha/sun
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.yaml
tag
:
${DRONE_COMMIT}
-
name
:
deploy-celery-test
image
:
ccr.ccs.tencentyun.com/gm-ai/drone-kube:test
when
:
branch
:
-
deploy/like-test
instance
:
exclude
:
-
cicd.iyanzhi.com
environment
:
repo
:
alpha/sun
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.celery.yaml
tag
:
${DRONE_COMMIT}
trigger
:
branch
:
-
deploy/*
...
...
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