Dear GitLab support!
My dockerized Scala application uses GitLab CI for testing and deploying.
Deploying works fine, but for testing I require
docker-compose to be available since the tests run against the application’s containers.
.gitlab-ci.yml I use Docker In Docker with
services: - docker:dind
If I have understood the docs correctly,
dind includes Docker Compose.
Yet when I execute my tests with
dockerComposeTest, an SBT task provided by this nice plugin that uses Docker Compose to start up the app’s containers and runs tests against them, I get the following error:
java.io.IOException: Cannot run program “docker-compose”: error=2, No such file or directory
How can I make
docker-compose available in that job so the SBT task can use it?
Thanks a lot in advance!