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

does services in pipeline support "COMMAND" keyword?

wucj April 25, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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 answer
TAGS
AUG Leaders

Atlassian Community Events