Skip to content
Snippets Groups Projects
Commit df020d38 authored by Zack Wong's avatar Zack Wong
Browse files

Merge branch 'coffee-testing' of gitlab.ucc.asn.au:frekk/uccportal into coffee-testing

parents dc4510da 5f40687c
Branches
Tags
1 merge request!4Coffee testing
...@@ -18,11 +18,13 @@ deploy_test: ...@@ -18,11 +18,13 @@ deploy_test:
stage: deploy stage: deploy
tags: tags:
- test - test
variables:
CI_DEBUG_TRACE: "true"
script: script:
- echo "Deploy to test" - echo "Deploy to test"
- rm -f /var/www/test/$CI_COMMIT_REF_NAME - rm -f /var/www/test/$CI_COMMIT_REF_NAME
- ln -s . /var/www/test/$CI_COMMIT_REF_NAME - ln -srT ./ /var/www/test/$CI_COMMIT_REF_NAME
- envsubst < src/gms/settings_local.example.py > src/gms/setting_local.py - envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
- python src/manage.py makemigrations - python src/manage.py makemigrations
- python src/manage.py migrate --run-syncdb - python src/manage.py migrate --run-syncdb
- ln -s /etc/uwsgi/vassals/test.skel /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini - ln -s /etc/uwsgi/vassals/test.skel /etc/uwsgi/vassals/$CI_COMMIT_REF_NAME.ini
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment