machine image: ubuntu-2204:2024.03.1(from ubuntu-2204:edge) and ubuntu-2004:2024.03.1(from: ubuntu-2004:edge)
What happened
Installation failed.
error message:
The version installed (470.0.0) matches the version requested (470.0.0).
Skipping installation.
ERROR: (gcloud.components.install) You cannot perform this action because you do not have permission to modify the Google Cloud SDK installation directory [/opt/google/google-cloud-sdk].
Re-run the command with sudo: sudo /opt/google/google-cloud-sdk/bin/gcloud ...
Exited with code exit status 1
We were trying to install a gcloud plugin (gcloud component install ...).
Currently we use this orb with workaround sudo chown circleci:circleci -R /opt/google.
Orb version
circleci/gcp-cli@3.1.0
machine image:
ubuntu-2204:2024.03.1
(fromubuntu-2204:edge
) andubuntu-2004:2024.03.1
(from:ubuntu-2004:edge
)What happened
Installation failed.
error message:
We were trying to install a gcloud plugin (
gcloud component install ...
).Currently we use this orb with workaround
sudo chown circleci:circleci -R /opt/google
.Expected behavior
Installation succeeded.