Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
uccportal
Commits
68ec132a
Commit
68ec132a
authored
Feb 24, 2019
by
Zack Wong
Browse files
Merge branch 'coffee-testing' into 'master'
set permissions on config See merge request frekk/uccportal!5
parents
54e3e668
24eb3ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
68ec132a
...
...
@@ -32,6 +32,7 @@ deploy_testing:
-
rm -f /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini
-
mkdir .db
-
envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
-
chmod 600 src/gms/settings_local.py
-
ln -srT ./ /var/www/test/$CI_COMMIT_REF_NAME
-
python src/manage.py collectstatic
-
python src/manage.py makemigrations
...
...
@@ -57,6 +58,7 @@ deploy_staging:
-
rm -f /etc/uwsgi/vassals/stage.ini
-
ln -srT ./ /services/$CI_PROJECT_NAME
-
envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
-
chmod 600 src/gms/settings_local.py
-
python src/manage.py collectstatic
-
python src/manage.py makemigrations
-
python src/manage.py migrate --run-syncdb
...
...
@@ -79,4 +81,4 @@ stop_testing:
-
master
script
:
-
rm -f /var/www/test/$CI_COMMIT_REF_NAME
-
rm -f /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini
\ No newline at end of file
-
rm -f /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini
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