Since the gke-gcloud-auth-plugin is required our build times in quite many places got way worse. I have some jobs where google-github-actions/[email protected] takes over a minute, and all the other steps are less than 5s.
The step we are currently using to install gcloud sdk:
- name: "Setup gcloud sdk"
uses: google-github-actions/[email protected]
with:
version: '412.0.0'
install_components: gke-gcloud-auth-plugin
No response
Hi @andaag
If you don't need a specific version, you can skip setup-gcloud and use the system-provided version (by GitHub) instead. Then just manually install the component:
run: 'gcloud components install foo bar --quiet'
The next version of setup-gcloud
will let you pass skip_install: true
, if that's helpful.
Hello @sethvargo, the skip install flag seems not working neither :
Run google-github-actions/[email protected]
Skipping installation ("skip_install" was true)
Error: google-github-actions/setup-gcloud failed with: failed to execute command `gcloud --quiet components install beta`: ERROR: (gcloud.components.install)
You cannot perform this action because the Google Cloud CLI component manager
is disabled for this installation. You can run the following command
to achieve the same result for this installation:
sudo apt-get install google-cloud-sdk
Using runner ubuntu-latest (22)
Am i missing something ?
Thanks
Owner Name | google-github-actions |
Repo Name | setup-gcloud |
Full Name | google-github-actions/setup-gcloud |
Language | TypeScript |
Created Date | 2019-11-05 |
Updated Date | 2023-03-23 |
Star Count | 1505 |
Watcher Count | 65 |
Fork Count | 548 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|