Commit e5d1b0b2 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

docker-compose is not in PATH


Signed-off-by: default avatarJose Borreguero <borreguero@gmail.com>
parent 109626f7
Pipeline #196583 failed with stages
in 6 minutes and 26 seconds
......@@ -24,7 +24,7 @@ stages:
- chmod +x ./docker-compose
.docker-teardown: &docker-teardown
- docker-compose down -v
- ./docker-compose down -v
- docker system prune -f -a --volumes
- sudo chown -R gitlab-runner . # allows "docker system prune" next time the pipeline runs
......@@ -68,7 +68,7 @@ test:
script:
- docker pull ${IMAGE_NAMETAG} # pull from the Container Registry
- docker tag ${IMAGE_NAMETAG} djrems # retag the image
- docker-compose up -d
- ./docker-compose up -d
- docker exec -t service_djrems bash -c "make test"
after_script:
- *docker-teardown
......
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