Commit 938712ac authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml run docker compose un detached mode

starting it in the background doesn't seem to be working. The detached
mode must exist for this purpose
parent 595764f8
...@@ -244,7 +244,7 @@ test_server_functional: ...@@ -244,7 +244,7 @@ test_server_functional:
script: script:
- docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/server:test" docker/vidjil-server - docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/server:test" docker/vidjil-server
- docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/client:test" docker/vidjil-client - docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/client:test" docker/vidjil-client
- cd docker && (docker-compose up &) && cd .. && sleep 10 - cd docker && docker-compose up -d && cd ..
- HEADLESS=1 make functional_server || (cd docker && docker-compose stop; false) - HEADLESS=1 make functional_server || (cd docker && docker-compose stop; false)
- cd docker && docker-compose stop - cd docker && docker-compose stop
only: only:
......
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