Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
e3ad83c5
Commit
e3ad83c5
authored
Aug 04, 2016
by
okhin
Browse files
Updating the deployement if it already exists
parent
7707a52b
Pipeline
#56
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e3ad83c5
...
...
@@ -8,11 +8,10 @@ stages:
job install
:
script
:
-
cd /srv/piphone/
-
git clone $CI_BUILD_REPO $CI_PROJECT_NAME
-
cd $CI_PROJECT_NAME
-
'
if
[[
-d
$CI_PROJECT_NAME
]];
then
cd
$CI_PROJECT_NAME;
git
pull
origin
master;
else
git
clone
$CI_BUILD_REPO
$CI_PROJECT_NAME;
cd
$CI_PROJECT_NAME;
fi;'
-
'
[[
-d
./.backend_env
]]
||
virtualenv
--python=python3
.backend_env'
-
source ./.backend_env/bin/activate
-
pip install -r requirements.txt
-
pip install -r
./
requirements.txt
-
deactivate
stage
:
install
tags
:
...
...
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