Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,834
Community Members
 
Community Events
165
Community Groups

Pipelines: gcloud datastore emulator as background process?

Edited

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 Oct 04, 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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,247 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you