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
alpha
physical
Commits
95599d9a
Commit
95599d9a
authored
5 years ago
by
钟尚武
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'deploy/like-stage'
fix drone See merge request
!592
parents
2080e7ed
a0a19ad9
Pipeline
#4994
passed with stage
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
4 deletions
+31
-4
.drone.yml
.drone.yml
+28
-1
Dockerfile
deploy/prod/Dockerfile
+1
-1
Dockerfile
deploy/stage/Dockerfile
+1
-1
Dockerfile
deploy/test/Dockerfile
+1
-1
No files found.
.drone.yml
View file @
95599d9a
...
...
@@ -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,27 @@ steps:
environment
:
repo
:
alpha/physical
when
:
branch
:
-
deploy/like-prod
-
deploy/like-stage
instance
:
exclude
:
-
cicd.gmapp.env
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.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
:
-
aidrone.iyanzhi.com
-
cicd.iyanzhi.com
environment
:
repo
:
alpha/physical
settings
:
namespace
:
${DRONE_BRANCH}
template
:
deploy.yaml
...
...
This diff is collapsed.
Click to expand it.
deploy/prod/Dockerfile
View file @
95599d9a
...
...
@@ -12,5 +12,5 @@ ENV GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/physical/app_conf.xml"
ENV
PROJECT_ENV=prod
COPY
./deploy/prod/app_conf.xml .
COPY
./deploy/prod/settings_local.py ./physical/
CMD
bash -c 'source ~/.bashrc && gunicorn
physical
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
This diff is collapsed.
Click to expand it.
deploy/stage/Dockerfile
View file @
95599d9a
...
...
@@ -12,5 +12,5 @@ ENV GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/physical/app_conf.xml"
ENV
PROJECT_ENV=stage
COPY
./deploy/stage/app_conf.xml .
COPY
./deploy/stage/settings_local.py ./physical/
CMD
bash -c 'source ~/.bashrc && gunicorn
physical
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
This diff is collapsed.
Click to expand it.
deploy/test/Dockerfile
View file @
95599d9a
...
...
@@ -12,4 +12,4 @@ ENV GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/physical/app_conf.xml"
ENV
PROJECT_ENV=test
COPY
./deploy/test/app_conf.xml .
COPY
./deploy/test/settings_local.py ./physical/
CMD
bash -c 'source ~/.bashrc && gunicorn
physical
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application --workers=8 --worker-class=gevent --worker-connections=1024 --bind=0.0.0.0:80 --timeout 600 --log-level=debug--error-logfile=/data/log/physical/app/gunicorn_error.log --access-logfile=/data/log/physical/app/gunicorn_access.log'
This diff is collapsed.
Click to expand it.
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