Commit 7fead2d2 authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml docker-compose.yml build germlines for tests

parent 856ee18e
Pipeline #33172 failed with stages
in 2 minutes and 25 seconds
......@@ -244,7 +244,9 @@ test_server_functional:
script:
- docker build --no-cache --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/server:test" docker/vidjil-server
- docker build --no-cache --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/client:test" docker/vidjil-client
- cd germline && make && cd ..
- cd docker && docker-compose up -d && cd ..
- docker cp ../browser/js/germline.js docker_nginx_1:/usr/share/vidjil/browser/js/gerlmine.js
- docker exec docker_uwsgi_1 python /usr/share/vidjil/server/web2py/web2py.py -S vidjil -M -R /usr/share/vidjil/server/web2py/applications/vidjil/tests/functional/init_test_db.py
- source /etc/profile.d/rvm.sh
- rvm use 2.1.1
......
......@@ -43,6 +43,7 @@ services:
volumes:
- /opt/vidjil/log/nginx:/var/log/nginx
- /etc/nginx/ssl:/etc/nginx/ssl
- ../germline:/usr/share/vidji/browser/germline
workers:
image: vidjil/server:test
......
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