I’m actually working on improving the time taken to run our Cypress test suites.
For now, we use a machine executor and we rely on
docker-compose to prepare all the services (pretty convenient, since it’s the way we use it locally).
The problem is that the machine spawning (depending on the availability) is the step that takes most of the time in our scenarios (expect running the tests step). While spawning a docker image in a docker executor takes < 10 seconds, sometime, in a machine executor, it takes 2mns to have a machine.
So is it possible to have a docker executor that runs docker-compose (I already read https://support.circleci.com/hc/en-us/articles/115013854647-How-do-I-use-docker-compose-with-docker-executor-) and that allows to share the network on localhost?
I would like to be able to reach the services spawn by compose on localhost