Add google cloud cli (gcloud, gsutil) to Mac stacks

Have default image installed with gcloud / gsutil cli.

upload files to gcloud

Thank you for the feature request!

Which stack @tbarak?

gcloud is preinstalled on the Linux stacks https://github.com/bitrise-io/bitrise.io/blob/389dede98c449d71c2f2d676a49b544c1b6b9302/system_reports/linux-docker-android.log#L273

Hybrid is the one I need

May I ask why you need it on the Mac stacks specifically? :thinking: Is this something you can’t do on the Linux stacks?

Hi! FYI, we are an entity that needs gcloud on the Mac stacks because in the same workflow we’d like to create a test Firebase backend and exercise our iOS client against it.

Hi @dweekly! Thanks so much for letting us know! If you could place a vote on on the original post as well, that would “make things official”. :wink:

Hi @ahvth-bitrise
Is there any update on the gcloud for Mac stacks?

1 Like

Hi,
this is how i install gcloud on mac stacks:

export CLOUDSDK_CONFIG=/Users/vagrant/git/.config/
curl -sSL https://sdk.cloud.google.com > /tmp/gcl && sudo bash /tmp/gcl --install-dir=/Users/vagrant/git/gcloud --disable-prompts

then you can use gcloud like this

/Users/vagrant/git/gcloud/google-cloud-sdk/bin/gcloud auth activate-service-account -q --key-file /tmp/key.json

Is there any more progress on the feature request?
For me the usecase was to upload e2e test apk to firebase test lab using gcloud cli. Its really time consuming to install gcloud sdk on every build.

Hi viktorbenei, I have flutter project & I need gcloud on Mac stack to run flutter build ios & deploy artifact to firebase test lab to run integration testing for flutter. Could you help us add gcloud & gsutil to Mac Stack?

1 Like

@phuc.tranh does this, what @AntonioInsuastiBP mentioned above work Add google cloud cli (gcloud, gsutil) to Mac stacks - #9 by AntonioInsuastiBP ?

Yeah, I installed gcloud by curl/brew on mac stack. But it take more time & I think if bitrise team support us install gcloud before, it save more time for us.

1 Like

Having gcloud installed is really helpful!