Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
piphone-sip
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
67205f2d
Commit
67205f2d
authored
Apr 19, 2017
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a manual job to deploy in production
parent
622f951c
Pipeline
#925
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
.gitlab-ci.yml
.gitlab-ci.yml
+16
-1
No files found.
.gitlab-ci.yml
View file @
67205f2d
before_script
:
job install
:
variables
:
BASE_PATH
:
/srv/piphone/sip-backend/
VIRTUALENV
:
/srv/piphone/backend/.sip-backend_env
script
:
-
rsync -ruvC ./ ${BASE_PATH}
-
source ${VIRTUALENV}/bin/activate
-
pip install --upgrade pip
-
pip install --upgrade -r requirements.txt
stage
:
deploy
tags
:
[
preprod
]
only
:
-
master
job production
:
variables
:
BASE_PATH
:
/srv/piphone/backend/
VIRTUALENV
:
/srv/piphone/backend/backend_env
...
...
@@ -10,6 +24,7 @@ job install:
-
pip install --upgrade pip
-
pip install --upgrade -r requirements.txt
stage
:
deploy
tags
:
[
p
reprod
]
tags
:
[
p
iphone
]
only
:
-
master
when
:
manual
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