Dockerized Microsrvices

Looking at switching from jenkins to CircleCI. We build microservices using npm inside of docker images. I want to be able to build multiple docker images and the microservice inside them and run tests against the collection of running docker containers but not sure if this is possible with CircleCI.

  1. Can you build a project with multiple git repos? Not interested in using submodules if I can avoid it.
  2. Since the build would be multiple repos, can a build consist of more than one circle.yml daisy chained?
  3. Or is the way to handle this is to create a repo with submodules and a docker compose in the root?
  4. Or is another way to handle this is to create builds for each microservice and push the images to a registry and have a build that pulls those images and tests them?
    I am hoping to avoid creating a build structure for for the purpose of automated testing that doesnt reflect how we build for our QA and Production environment.

I’m having a similar problem. I don’t view it as a scalable solution to pull all my dependencies in for testing. (Although if I were to do that, I’d only build the repo I’m changing; I’d pull the other services in from a Docker registry.) It seems like the best way to deal with this is to open up my QA environment to allow connectivity from Circle, but that’s problematic, too. :confused: