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

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 -n /usr/share/vidjil/docker/ci/ci.sql
(sleep 10s; /usr/local/bin/gosu $user bash -n /usr/share/vidjil/docker/ci/ci.sql) &
echo "SQL loaded"
python /usr/share/vidjil/tools/ --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
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