Hi all!
I would like to establish a Bitbucket Pipelines step that runs integration tests against an emulated database (Google Datastore).
This is the emulator, which can be started via the Google Cloud SDK:
https://cloud.google.com/sdk/gcloud/reference/beta/emulators/datastore/start
Once the emulator is running, starting the tests should be as easy as calling
mvn verify -Pintegrationtestprofile
I found an image where both maven and gcloud come preinstalled.
The question is: how can I start the emulator as a background process so that I can start the maven execution in the main thread? I haven't been able to set up the emulator as a pipeline service (it requires an init and a start command).