Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
钟尚武
physical
Commits
a74d2f3e
Commit
a74d2f3e
authored
Nov 22, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加celery beat
parent
17d044df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
4 deletions
+59
-4
.drone.yml
.drone.yml
+15
-1
deploy.celery-beat.yaml.temp
deploy.celery-beat.yaml.temp
+41
-0
deploy.celery.yaml.temp
deploy.celery.yaml.temp
+3
-3
No files found.
.drone.yml
View file @
a74d2f3e
...
...
@@ -97,11 +97,25 @@ steps:
template
:
deploy.celery.yaml
tag
:
${DRONE_COMMIT}
-
name
:
deploy-celery-beat-test
image
:
ccr.ccs.tencentyun.com/gm-ai/drone-kube:test
when
:
branch
:
-
deploy/like-test
instance
:
exclude
:
-
cicd.iyanzhi.com
environment
:
repo
:
alpha/physical
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.celery-beat.yaml
tag
:
${DRONE_COMMIT}
trigger
:
branch
:
-
deploy/*
image_pull_secrets
:
-
dockerconfig
deploy.celery-beat.yaml.temp
0 → 100644
View file @
a74d2f3e
# deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: physical-celery-beat
release: physical-celery-beat
name: physical-celery-beat
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: physical-celery-beat
release: physical-celery-beat
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: physical-celery-beat
release: physical-celery-beat
spec:
containers:
- args:
- beat
- -A
- physical
- --loglevel=DEBUG
command:
- celery
image: ccr.ccs.tencentyun.com/gm-ai/like-physical:<IMAGE_TAG>
imagePullPolicy: Always
name: physical-celery-beat
imagePullSecrets:
- name: gm-secret
restartPolicy: Always
\ No newline at end of file
deploy.celery.yaml.temp
View file @
a74d2f3e
...
...
@@ -39,7 +39,7 @@ spec:
- celery
image: ccr.ccs.tencentyun.com/gm-ai/like-physical:<IMAGE_TAG>
imagePullPolicy: Always
name: physical
name: physical
-celery
imagePullSecrets:
- name: gm-secret
restartPolicy: Always
...
...
@@ -74,7 +74,7 @@ spec:
- args:
- worker
- -A
-
community
-
physical
- -Q
- vest
- -c5
...
...
@@ -85,7 +85,7 @@ spec:
- celery
image: ccr.ccs.tencentyun.com/gm-ai/like-physical:<IMAGE_TAG>
imagePullPolicy: Always
name: physical
name: physical
-celery-vest
imagePullSecrets:
- name: gm-secret
restartPolicy: Always
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