Commit e71ddc74 authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml remove containers after func tests

parent 9b5d04fd
Pipeline #43549 passed with stage
in 7 seconds
......@@ -300,8 +300,10 @@ test_server_functional:
- docker exec docker_nginx_1 make -C /usr/share/vidjil browser
- source /etc/profile.d/rvm.sh
- rvm use 2.1.1
- HEADLESS=1 make functional_server || (cd docker && docker-compose stop; false)
- HEADLESS=1 make functional_server || (cd docker && docker-compose stop; docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker rmi "vidjil/server:test" "vidjil/client:test"; false)
- cd docker && docker-compose stop
- docker stop $(docker ps -aq)
- docker rm $(docker ps -aq)
- docker rmi "vidjil/server:test" "vidjil/client:test"
only:
- /^feature-.*s.*\/.*$/
......
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