Closed manuteleco closed 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?
@gmemstr picked into https://github.com/CircleCI-Public/gcp-cli-orb/pull/40 if you want to use that one
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 ofgcp-gcr/gcr-auth
could still, and in addition, add a dependency togcp-cli
and invokegcp-cli/install
explicitly with a recent version. But that adds extra burden on the end user and feels a bit awkward to have twoinstall
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).