Instantiate environment to run tests


I’m working on an application which, in order to run the tests, requires a series of satellite services (Postgres, Mongo, Redis etc). Thinking about multiple Drone test instances, I thought I need to instanciate these servers per drone run.

Further elaborating the idea, I thought about creating some docker images containing the said services with a data snapshot and then instanciate an instance of them, just like we’re actually doing via docker-compose.

My question then is: is it possible to do this in the .drone.yml file?
Thanks :slight_smile:

It sounds like this is what you are looking for:

Thank you, that’s exactly what I was looking for :slight_smile: