CircleCI-Public / gcp-cli-orb

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

[semver:patch] Update the default `gcloud` version to 355.0.0 #35

Closed manuteleco closed 3 years ago

manuteleco commented 3 years ago

Checklist

Motivation, issues

The gcloud version being currently installed by default is already quite old (283.0.0 -- 2020-03-03) and an update is due.

Although it is possible to specify a version different than the default when invoking the install job, very often it is invoked as part of other higher level Orb, using the default value, like in gcp-gcr/gcr-auth. Users of gcp-gcr/gcr-auth could still, and in addition, add a dependency to gcp-cli and invoke gcp-cli/install explicitly with a recent version. But that adds extra burden on the end user and feels a bit awkward to have two install jobs executed, with different versions, the first one actually performing the installation and the second one being just a no-op.

Therefore, I think it is valuable to try to keep the default version up to date, so that all users and access patterns are benefited and no workarounds are necessary for those not using gcp-cli/install directly that still want to have a not-too-old gcloud version.

Description

Update the version of gcloud that is installed by default (i.e., when not explicitly provided as parameter) to the latest available version (355.0.0 -- 2021-08-31 at the time of writing).

gmemstr commented 3 years ago

I'd lean more towards a semver:minor at the very least for this. @manuteleco Would you mind bumping this PR up to the latest version of the CLI?

wyardley commented 3 years ago

@gmemstr picked into https://github.com/CircleCI-Public/gcp-cli-orb/pull/40 if you want to use that one