Releases: CircleCI-Public/gcp-cli-orb
v3.3.0
What's Changed
- fix: Install correct gcloud CLI archive on Windows: (see PR #90) by @david-montano-circleci in #91
- Add parameter skip_install to gcp-cli/setup by @w1mvy in #66
- added macOS support by @david-montano-circleci in #89
New Contributors
Full Changelog: v3.2.2...v3.3.0
v3.2.2
What's Changed
- Feature/fix gcloud in path windows by @david-montano-circleci in #86
New Contributors
- @david-montano-circleci made their first contribution in #86
Full Changelog: v3.2.1...v3.2.2
v3.2.1
What's Changed
- chore: add --quiet flag for installing gcloud components by @tadashi0713 in #85
Full Changelog: v3.2.0...v3.2.1
v3.2.0
v3.1.1 - Minor Bug Fix
What's Changed
- fix: skip installation if installed version is newer by @EricRibeiro in #77
Full Changelog: v3.1.0...v3.1.1
v3.1.0
What's Changed
- feat: retry download when decompression fails by @EricRibeiro in #75
Full Changelog: v3.0.1...v3.1.0
v3.0.1
v3.0.0 - OIDC Support, Install Command Improvements
What's Changed
- chore: Update orb version in the example snippet by @zmarkan in #48
- chore: replace CPEng with orb-publishers team in CODEOWNERS by @Jaryt in #58
feat: improve version handling by @EricRibeiro in #50
Allows for "latest" option and other improvements to install logic.
refactor!: Replace initialize
with setup
command by @Jaryt
Previously, install
and initialize
were separate commands, leading to the install_and_initialize
job. Using the install_and_initialize
job in a workflow creates a situation where post_steps
would be needed to utilize gcloud
. Since following commands are expected, it's best practice to define a new job as seen in the setup example:
jobs:
use-gcp:
executor: gcp-cli/default
steps:
- gcp-cli/setup:
version: 404.0.0 # optionally pass in the GCP CLI version
All prior functionality of the initialize
command is supported in the new setup
command. The install
command is executed as a step within the setup
command, reducing the need to call install
as a prerequisite.
feat: OIDC Support by @Jaryt
Enable the use_oidc
parameter on the setup
command to make use of OIDC. Requires an additional environment variable called GOOGLE_PROJECT_NUMBER
to be configured. Read more about GCP OIDC here: https://cloud.google.com/identity-platform/docs/web/oidc
feat: Install components by @Jaryt
Added optional components
parameter to setup
and install
commands. Space separate component ids to install more than one at a time. See https://cloud.google.com/sdk/docs/components for additional info.
fix: future proof installation url being changed by @Jaryt
The install script makes use of https://cloud.google.com/sdk/docs/downloads-versioned-archives to download requested version. For versions > 370, the URL has replaced sdk
with cli
.
New Contributors
Full Changelog: v2.4.1...v3.0.0
v2.4.1
What's Changed
- ci: migrate to Orb Tools 11 by @EricRibeiro in #43
- fix: Bump default Google Cloud SDK to 383.0.0 by @dlachasse in #42
New Contributors
- @EricRibeiro made their first contribution in #43
- @dlachasse made their first contribution in #42
Full Changelog: v2.4.0...v2.4.1