Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 167b9ade authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Review server: copy CGI at the right place

At the moment CGI are in the conf directory (see #4682), we need to copy them
in the right place so that we can use them on the review server.
parent 5e5a9cb3
Pipeline #213889 passed with stages
in 17 minutes and 19 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)
Markdown is supported
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