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

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

this is how i install gcloud on mac stacks:

export CLOUDSDK_CONFIG=/Users/vagrant/git/.config/
curl -sSL > /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