Hello!
I have a project that is a coordinated set of docker containers, all organized in a single repository using docker-compose. The repository looks like so:
.
├── api
│ ├── Dockerfile-dev
│ ├── README.md
│ ├── dev
│ ├── profiles.clj
│ ├── project.clj
│ ├── resources
│ ├── src
│ ├── target
│ └── test
├── client
│ ├── Dockerfile-dev
│ ├── README.md
│ ├── build
│ ├── conf
│ ├── main.js
│ ├── node_modules
│ ├── package.json
│ ├── src
│ └── webpack.config.js
├── db
│ ├── Dockerfile-dev
│ └── README.md
├── docker-compose-dev.yml
├── engine
│ ├── Dockerfile-dev
│ ├── README.md
│ ├── dev
│ ├── profiles.clj
│ ├── project.clj
│ ├── resources
│ ├── src
│ ├── target
│ └── test
…
Notice how there are sub-components in their own respective subdirectories.
I would like to add CI to this system, so I’d like to be able to build/test each of these subdirs. Preferably, I’d like to run each of these in parallel and report all errors.
For instance, I would like to run tests for {client, api, engine}.
Is this possible to do in CircleCI? I looked at using build_dir, but it doesn’t look like can solve this issue.
Thanks for your help!