Here’s the situation:
I have a docker-compose
-based project, and 2 workflows in CI, mostly for testing. One workflow for PHP (using circleci/php docker image) and one for NodeJS (using circleci/node docker image).
I wonder whether the circleci images are useful or not, but all I need is docker & docker-compose, because tests should be executed with a docker-compose exec {...}
call.
Building the images works well, starting them works too, but the volumes are not set.
The project is open-source so anyone can check it out just in case.
- Here is the branch I am testing: https://github.com/Pierstoval/AgateApps/tree/refactor-domains
- The branch builds on CircleCI: https://circleci.com/gh/Pierstoval/AgateApps/tree/refactor-domains (the PHP ones are buggy, the Node one are OK, which is strange).
- The
circle.yml
config file: https://github.com/Pierstoval/AgateApps/blob/refactor-domains/.circleci/config.yml - And the
docker-compose.yml
file: https://github.com/Pierstoval/AgateApps/blob/refactor-domains/docker-compose.yml
The PHP build doesn’t work because when I look inside the container (via docker-compose exec php ls -lah
), the project directory contains only 2 things: the var/
directory and the package.json
file. But it should contain the whole project.
Any idea on why the volume is not mounted with all files?