I have a service foo
which is, among other things, a client of service bar
.
In my CI, testing works by deploying bar
, so foo
can connect to it.
To do that, I'm checking out bar
repo and running its docker-compose file + running some other scripts to check if bar
is ready to be used.
Is there a better way to do this ? I was thinking of packaging bar
docker compose in an image which just needs to be pulled and integrated in foo
docker compose.