diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2de4dcd42e09cf07085dc10f8e5cd68e80df803..819dd9c4c328d0653d2f9e6ffc26e35885972f0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,7 @@ deploy_test: - docker ps -a -q | xargs -I{} docker rm {} || echo "No containers to remove" - docker images -q | xargs -I{} docker rmi {} || echo "No images to remove" - docker pull l1ll1/strudel2_backend:$CI_COMMIT_BRANCH - - docker run --mount type=bind,source=/messages,target=/messages --mount type=bind,source=/var/log/strudel2,target=/var/log/strudel2 --restart=always -v $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro -d -p 8080:8080 -p 8090:8090 --name strudel2_backend l1ll1/strudel2_backend:$CI_COMMIT_BRANCH || echo "Unable to start image ... possibly the old wsgi process is still running?" + - docker run --mount type=bind,source=/messages,target=/messages --mount type=bind,source=/var/log/strudel2,target=/var/log/strudel2 --restart=always -v /home/ubuntu/telegraf.conf:/etc/telegraf/telegraf.conf:ro -d -p 8080:8080 -p 8090:8090 --name strudel2_backend l1ll1/strudel2_backend:$CI_COMMIT_BRANCH || echo "Unable to start image ... possibly the old wsgi process is still running?" dependencies: - build