Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipelines: gcloud datastore emulator as background process?

Veronika Priesner October 1, 2021

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).

1 answer

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 4, 2021

Hi, @Veronika Priesner,

I saw that you created a ticket with our support related to the same question, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let’s focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same question.

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events