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

Latest version check fails on newer version than patch notes #76

Closed Gentoli closed 1 year ago

Gentoli commented 1 year ago

Orb version

gcp-cli@3.0.1

What happened

The runner uses gcr.io/google.com/cloudsdktool/google-cloud-cli:debian_component_based(latest). Google pushes a build here before the patch notes are updated (https://cloud.google.com/sdk/docs/release-notes).

The version installed (432.0.0) differs from the version requested (431.0.0).
Uninstalling v432.0.0...
sudo is required to uninstall the Google Cloud SDK.
Please install it and try again.
Failed to uninstall the current version.

Expected behavior

The latest version is used (from the patch note or local which ever is greater)

Gentoli commented 1 year ago

duplicate https://github.com/CircleCI-Public/gcp-cli-orb/issues/73