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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

does services in pipeline support "COMMAND" keyword?

I would like to use database in the CI stage, so I try to use services in pipelines.

However, from all the examples in bitbucket document, pipeline only support keyword "image" and "environment".

However, I would like use google datastore emulator in the CI stage. So, the better way for me that is

definitions:

    services:

         datastore:

              image: google/cloud-sdk

              environment:

                       PORT: 8000

              command: gcloud beta emulators datastore start --host-port 0.0.0.0:8000 --project=wucj-service --no-store-on-disk

 

However, looks like pipeline has not supported the way like I mention. Is it possible to support that

 

Thanks

 

1 answer

1 accepted

0 votes
Answer accepted
SebC Atlassian Team Apr 25, 2018

Hey @wucj,

Service containers do not currently support modifying the entrypoint command - you'll need to use the built-in Docker service to make those kinds of customisation.

 

thanks,

Seb

Suggest an answer

Log in or Sign up to
This widget could not be displayed.
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,409 views 8 15
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