Commit 2cda5242 authored by Mikaël Salson's avatar Mikaël Salson

docker: Load SQL for review server

It seems to work best when UWSGI is already launched.
See vdj#1135
parent c9698f06
Pipeline #176215 passed with stages
in 11 minutes and 38 seconds
......@@ -14,7 +14,7 @@ fi
if [ "$1" == "--ci" ]; then
cd /usr/share/vidjil/server/web2py/applications/vidjil/scripts
echo "Loading SQL"
/usr/local/bin/gosu $user bash launch_python_script.sh load-sql.py -n /usr/share/vidjil/docker/ci/ci.sql
(sleep 10s; /usr/local/bin/gosu $user bash launch_python_script.sh load-sql.py -n /usr/share/vidjil/docker/ci/ci.sql) &
echo "SQL loaded"
python /usr/share/vidjil/tools/fuse.py --output /mnt/result/results/fused.vidjil /usr/share/vidjil/doc/analysis-example.vidjil /usr/share/vidjil/doc/analysis-example.vidjil /usr/share/vidjil/doc/analysis-example.vidjil
fi
......
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