Skip to content
Snippets Groups Projects
Commit afc4e020 authored by s80984's avatar s80984
Browse files

change test pipeline creating mongo

parent 3685ef13
No related branches found
No related tags found
No related merge requests found
Pipeline #14272 failed
......@@ -76,7 +76,6 @@ job_test-image:
- docker build --file "./app/server/Dockerfile.test" --tag testimg:latest .
- docker run
--detach
--publish "${outerPort}:8080"
--network=test-img-network
--env MONGODB_URL=mongodb://mongo:27017/test
......@@ -107,7 +106,7 @@ job_test-image:
after_script:
# NOTE: clean up after test run (stop and remove container)
- docker rm --force "${CI_PROJECT_ID}-${CI_PIPELINE_IID}"
- docker network rm my-build-network
- docker network rm test-img-network
- docker network ls
- docker network prune
# - docker-compose down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment