Commit 650c3ff3 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

Merge branch 'feature-s/cgi-on-review-server' into 'dev'

Review server: copy CGI at the right place

See merge request !908
parents 5e5a9cb3 167b9ade
Pipeline #213935 passed with stages
in 8 minutes and 42 seconds
......@@ -476,6 +476,8 @@ deploy_review_server:
- sed -r 's/^.*FILE_SOURCE.*$/FILE_SOURCE="\/usr\/share\/vidjil\/demo"/' ./docker/vidjil-server/conf/ > ./server/web2py/applications/vidjil/modules/
- sed -i -e "/EMAIL_SUBJECT_START/c EMAIL_SUBJECT_START='[Vidjil/CI][$CI_COMMIT_REF_NAME]'" -e '/FROM_EMAIL/c FROM_EMAIL=""' ./server/web2py/applications/vidjil/modules/
- sed -ri 's/^(uwsgi_pass )\$upstream_(.*)$/\1\2/g' docker/vidjil-client/conf/uwsgi.conf
- mkdir browser/cgi
- cp docker/vidjil-client/conf/*.cgi browser/cgi
- mv docker docker_${CI_BUILD_REF_SLUG}
- cd docker_${CI_BUILD_REF_SLUG}
- TMP_DOCKER=$(tempfile)
Supports Markdown
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