CircleCI-Public / gcp-cli-orb

Install and configure the Google Cloud CLI (gcloud)
https://circleci.com/orbs/registry/orb/circleci/gcp-cli
MIT License
9 stars 32 forks source link

`gcp-cli/setup` command won't pass with gcloud latest version (429.0.0) #74

Closed joaomlopes closed 1 year ago

joaomlopes commented 1 year ago

Orb version

3.0.1

What happened

Installing the latest gcloud version (429.0.0) will break on the gcp-cli/setup command while running the step Initialize gcloud CLI to connect to Google Cloud with the error

ERROR: gcloud crashed (AttributeError): 'bool' object has no attribute 'lower'

Knowing that we can set the version, however this is part of the gcp-gke/publish-and-rollout-image job on the gcp-gke orb.

Expected behavior

The setup should pass successfully regardless the version.

EricRibeiro commented 1 year ago

Thanks for bringing this to our attention.

This is likely a problem with this version of the CLI or your executor. It should not be related to the orb itself. If you think otherwise, I'll be sure to look into it if you provide more information.