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
aa09164e
Commit
aa09164e
authored
Apr 19, 2017
by
okhin
Browse files
Upgrading the sqlite3 database on deployment
parent
5647ddd5
Pipeline
#934
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
aa09164e
...
...
@@ -6,6 +6,7 @@ job install:
VIRTUALENV
:
/srv/piphone/sip-backend/.sip-backend_env
script
:
-
rsync -ruvC ./ ${BASE_PATH}
-
sqlite3 ${BASE_PATH}/../backend_sip.sqlite3 < database.sql
-
source ${VIRTUALENV}/bin/activate
-
pip install --upgrade pip
-
pip install --upgrade -r requirements.txt
...
...
@@ -20,6 +21,7 @@ job production:
VIRTUALENV
:
/srv/piphone/backend/backend-env
script
:
-
rsync -ruvC ./ ${BASE_PATH}
-
sqlite3 ${BASE_PATH}/../backend_sip.sqlite3 < database.sql
-
source ${VIRTUALENV}/bin/activate
-
pip install --upgrade pip
-
pip install --upgrade -r requirements.txt
...
...
Write
Preview
Supports
Markdown
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