Commit graph

49 commits

Author SHA1 Message Date
gurusai-voleti
01af06c41d
chore: Migrate gsutil usage to gcloud storage (#733)
Automated: Migrate {target_path} from gsutil to gcloud storage

This CL is part of the on going effort to migrate from the legacy
`gsutil` tool to the new and improved `gcloud storage` command-line
interface.
`gcloud storage` is the recommended and modern tool for interacting with
Google Cloud Storage, offering better performance, unified
authentication, and a more consistent command structure with other
`gcloud` components. 🚀

### Automation Details

This change was **generated automatically** by an agent that targets
users of `gsutil`.
The transformations applied are based on the [gsutil to gcloud storage
migration guide](http://go/gsutil-gcloud-storage-migration-guide).

### ⚠️ Action Required: Please Review and Test Carefully

While we have based the automation on the migration guide, every use
case is unique.
**It is crucial that you thoroughly test these changes in environments
appropriate to your use-case before merging.**
Be aware of potential differences between `gsutil` and `gcloud storage`
that could impact your workflows.
For instance, the structure of command output may have changed,
requiring updates to any scripts that parse it. Similarly, command
behavior can differ subtly; the `gcloud storage rsync` command has a
different file deletion logic than `gsutil rsync`, which could lead to
unintended file deletions.

Our migration guides can help guide you through a list of mappings and
some notable differences between the two tools.

Standard presubmit tests are run as part of this CL's workflow. **If you
need to target an additional test workflow or require assistance with
testing, please let us know.**

Please verify that all your Cloud Storage operations continue to work as
expected to avoid any potential disruptions in production.

### Support and Collaboration

The `GCS CLI` team is here to help! If you encounter any issues, have a
complex use case that this automated change doesn't cover, or face any
other blockers, please don't hesitate to reach out.
We are happy to work with you to test and adjust these changes as
needed.

**Contact:** `gcs-cli-hyd@google.com`

We appreciate your partnership in this important migration effort!

#gsutil-migration

Signed-off-by: gurusai-voleti <gvoleti@google.com>
2026-04-07 15:12:47 -04:00
Google GitHub Actions Bot
26f734c277
Release: v3.0.0 (#726)
## What's Changed
- **‼️ This release requires Node 24+!**
- **‼️ The `skip_tool_cache` option has been removed!** Skipping the
tool cache is now the default behavior. To restore the previous behavior
of using the tool cache (which is unnecessary on GitHub managed runners,
but may provide performance increases on self-hosted runners), set
`cache: true`.
---
* Bump to node24 by @sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/723
* Do not use the tool-cache by default by @sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/724
* Update to use v3 references by @sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/725


**Full Changelog**:
https://github.com/google-github-actions/setup-gcloud/compare/v2.2.1...v3.0.0
2025-08-25 01:58:24 +00:00
Seth Vargo
d26df95ce1
Update to use v3 references (#725) 2025-08-24 21:54:52 -04:00
Seth Vargo
6387e69544
Bump to node24 (#723) 2025-08-24 21:47:21 -04:00
Google GitHub Actions Bot
e427ad8a34
Release: v2.2.1 (#722)
## What's Changed
* Update deps by @sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/720
* Bump to the latest actions-utils to fix the gen-readme bug by
@sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/721


**Full Changelog**:
https://github.com/google-github-actions/setup-gcloud/compare/v2.2.0...v2.2.1
2025-08-25 01:24:46 +00:00
Google GitHub Actions Bot
cb1e50a993
Release: v2.2.0 (#719)
## What's Changed
* Introduce an option to skip the tool cache by @sethvargo in
https://github.com/google-github-actions/setup-gcloud/pull/718


**Full Changelog**:
https://github.com/google-github-actions/setup-gcloud/compare/v2.1.5...v2.2.0
2025-08-08 16:42:03 -04:00
Seth Vargo
012c5df3ac
Update deps and switch to autodoc (#690) 2024-05-28 19:57:36 +00:00
eeaton
f9896217fa
Fix ADC documentation, issue#685 (#686)
<!--
Thank you for proposing a pull request! Please note that SOME TESTS WILL
LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from
forks.
Someone from the team will review your Pull Request and respond.

Please describe your change and any implementation details below.
-->
Fixes to readme for inaccurate guidance on setting Application Default
Credentials.
https://github.com/google-github-actions/setup-gcloud/issues/685

---------

Signed-off-by: eeaton <ellioteaton@gmail.com>
2024-04-04 12:16:02 -04:00
msng
87fba63a27
Fix typo in sample workflow shown in README.md. (#682)
Fixed a typo in the README.md's sample workflow. Changed 'job' to 'jobs'
to align with the correct YAML syntax for GitHub Actions workflows.
2024-03-01 18:40:10 -05:00
Seth Vargo
87d5265a43
Update README and CI to use latest version (#665) 2023-12-13 10:30:18 -05:00
Seth Vargo
602747fdf0
Update deps to Node 20 (#653) 2023-11-07 07:00:56 -08:00
Seth Vargo
e31b6ff0b8
Add support note (#634) 2023-05-04 11:47:20 -07:00
Seth Vargo
1c8dc68e52
Update README.md (#631)
Remove references to license and contributing guide. GitHub
automatically surfaces them now.

Signed-off-by: Seth Vargo <seth@sethvargo.com>
2023-05-02 16:31:40 +00:00
Ethan Davidson
a8c7802c4d
Add warning about skip_install (#630)
Based on github's comments in
https://github.com/actions/runner-images/issues/7101 it's my
understanding that at some point the system-installed gcloud will no
longer be included in the runners. When that happens, I assume any
workflows with `skip_install: true` will stop working

(also fyi: the readme
[references](https://github.com/google-github-actions/setup-gcloud#contributing)
CONTRIBUTING.md, but that file doesn't exist)

---------

Signed-off-by: Ethan Davidson <ethanmdavidson@gmail.com>
2023-04-29 09:55:34 -04:00
Seth Vargo
1bee7de035
Drop example workflows (#627)
We have the GitHub-sanctioned starter workflows now, and these are
mostly unmaintained. Furthermore, for most of these, we would rather
have users use our other GitHub Action (like deploy-cloudrun) instead.
2023-03-28 10:53:36 -04:00
Seth Vargo
5f47137cb3
Fix docs about component installation for system-provided (#615)
Closes https://github.com/google-github-actions/setup-gcloud/issues/610
2023-02-06 16:38:24 -10:00
Seth Vargo
10b5bd2b6d
Add support for specifying version constraints (#612)
This adds support for specifying a version _constraint_ for the version
of gcloud. Since the GitHub Actions runners pre-install a version of
gcloud, this can dramatically reduce CI times.
2023-02-02 19:21:19 -05:00
Mike Verbanic
4c944208a9
fix: update docs (#588) 2022-11-09 21:58:27 -05:00
Mike Verbanic
ec49dc1630
feat: update for 1.0 release (#580) 2022-11-08 15:56:43 -05:00
Kengo TODA
0b580c2a20
Document that WIF is supported for gsutil and bq now (#573)
docs: WIF is supported for gsutil and bq now

refs https://github.com/google-github-actions/auth/pull/213

Signed-off-by: Kengo TODA <skypencil@gmail.com>

Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-10-24 10:33:38 -04:00
Seth Vargo
db80c6a94e
docs: update references from master -> main (#544) 2022-04-05 11:04:56 -04:00
Michael Warkentin
1b47649e58
Typo fix (#542)
`do no` -> `do not`
2022-03-22 15:10:05 -04:00
Seth Vargo
6194e1dc59
chore!: Require Node 16 (#532) 2022-03-08 15:18:18 -08:00
Seth Vargo
f9167b9b27
doc: add example for install_components (#493) 2022-02-02 10:50:08 -06:00
Seth Vargo
6960137d45
docs: add note about minimum gcloud version (#476) 2022-01-11 11:25:44 -06:00
Averi Kitsch
489ab62c6e
feat: add install_component field (#399)
* feat:add install_component field

* lint

* fix install

* debug

* update test

* comments

* Update readme

* lint

* lint
2022-01-05 13:42:03 -08:00
Seth Vargo
1c75dde369
chore: note that gsutil and bq don't support WIF yet (#463) 2021-12-29 13:34:03 -06:00
Seth Vargo
f80ec2b147
docs: make it clearer that most auth inputs are deprecated (#459) 2021-12-26 16:17:49 -05:00
Seth Vargo
0f2d46d46d
bug: only cleanup credentials if credentials were exported (#458) 2021-12-23 10:40:22 -06:00
Seth Vargo
5e1f844bdc
Update README to push more towards v0 (#454) 2021-12-22 13:15:06 -06:00
Seth Vargo
d4f608db25
Revert "Rename workflows and branches to main (#449)" (#452)
This reverts commit 190711d66f.
2021-12-22 12:54:08 -06:00
Seth Vargo
190711d66f
Rename workflows and branches to main (#449) 2021-12-22 12:47:36 -06:00
Fedor Isakov
a9839f1d99
chore: support WIF in example workflows 2021-12-22 20:09:25 +03:00
Seth Vargo
c84240f65f
chore: Pin auth to v0 (#432) 2021-12-09 16:49:39 -06:00
Seth Vargo
e8d1791f2f
bug: expand examples to include full job spec (#431)
Fixes https://github.com/google-github-actions/setup-gcloud/issues/430
2021-12-09 15:22:04 -06:00
Bharath KKB
41d62c9cff
chore: fix docs pinned version (#425) 2021-12-06 15:21:00 -06:00
Bharath KKB
f38d54f0d7
feat: Support WIF creds (#413)
* update sdk pkg

* add auth

* docs

* address comments
2021-12-02 11:38:22 -06:00
Seth Vargo
de988cc45d
Revert back to using GITHUB_WORKSPACE for storing credentials (#412) 2021-12-01 11:30:44 -06:00
Seth Vargo
9bd5f65b7f
feat: Export credentials into RUNNER_TEMP instead of GITHUB_WORKSPACE (#405)
This will ensure the credentials do no persist beyond the run, but are still available to all other steps in the job.
2021-11-30 16:04:23 -06:00
T Hernandez
38fab8887c
feat: cleanup old actions(#331)
* First pass of cleanup of old actions code

* fixed primary CHANGELOG file from setup-gcloud shift

* cleaning up old workflows

* removing working-directory spec as it's no longer needed

* Moar cleanup on the path to cleanup redemption

* "it now builds and tests pass locally"

* lint error cleanup

* More path cleanup

* addressing PR comments, more cleanup

* missed two files in last update

* Update README.md

Co-authored-by: Averi Kitsch <akitsch@google.com>
2021-07-23 13:24:52 -05:00
Averi Kitsch
0975df4fef
docs: update README (#241)
* docs: update README

* list actions
2020-11-18 11:33:53 -08:00
Seth Vargo
e78c4f30b8
Update README to include Secret Manager action 2020-03-12 15:28:04 -04:00
craigdbarber
9e1b143e10 Updated example workflow READMEs to include GCE 2020-02-19 13:10:03 -08:00
craigdbarber
7ccd25d050 Updated slack invation link 2020-02-11 14:48:15 -08:00
averikitsch
ad9d7f8014 Add Workflow example to ReadMe 2020-02-07 12:49:05 -08:00
craigdbarber
6ea34fa3e8 Imported gke example workflow into repo 2019-11-08 14:17:03 -08:00
craigdbarber
2c35e19988 Imported action v2 impl 2019-11-06 16:47:23 -08:00
craigdbarber
ce04d5f9e5 Cleared out obsolete v1 actions impl 2019-11-06 16:44:40 -08:00
GitHub
8ec8bfad38
Initial commit
Co-authored-by: Thomas Osowski <osowskit@github.com>
Co-authored-by: Tom Osowski <osowskit@github.com>
Co-authored-by: Nick Van Wiggeren <nickvanw@github.com>
Co-authored-by: Brandon Keepers <bkeepers@github.com>
Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com>
Co-authored-by: Steve Winton <stevewinton@gmail.com>
Co-authored-by: Steve Winton <swinton@users.noreply.github.com>
Co-authored-by: Greg Orzell <gorzell@users.noreply.github.com>
Co-authored-by: Greg Orzell <gorzell@github.com>
2018-10-16 07:49:23 -07:00