Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edge case when gcloud is not installed at all #672

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

sethvargo
Copy link
Member

No description provided.

@sethvargo sethvargo requested a review from a team as a code owner December 21, 2023 03:36
verbanicm
verbanicm previously approved these changes Dec 21, 2023
Copy link
Member

@verbanicm verbanicm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol

Copy link
Member

@verbanicm verbanicm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@sethvargo sethvargo merged commit 191b97b into main Dec 21, 2023
2 checks passed
@sethvargo sethvargo deleted the sethvargo/oops branch December 21, 2023 03:49
sethvargo pushed a commit that referenced this pull request Dec 21, 2023
## What's Changed
* Update README and CI to use latest version by @sethvargo in
#665
* Don't warn when version is "latest" by @sethvargo in
#669
* Only warn when there are no authentications by @sethvargo in
#671
* Fix edge case when gcloud is not installed at all by @sethvargo in
#672
* Rename test step to a more accurate name by @sethvargo in
#673


**Full Changelog**:
v2.0.0...0c32996
charithe referenced this pull request in cerbos/cerbos Jan 2, 2024
…1929)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google-github-actions/setup-gcloud](https://togithub.com/google-github-actions/setup-gcloud)
| action | major | `v1.1.1` -> `v2.0.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google-github-actions/setup-gcloud
(google-github-actions/setup-gcloud)</summary>

###
[`v2.0.1`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2.0.1)

[Compare
Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v2.0.0...v2.0.1)

##### What's Changed

- Update README and CI to use latest version by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/665](https://togithub.com/google-github-actions/setup-gcloud/pull/665)
- Don't warn when version is "latest" by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/669](https://togithub.com/google-github-actions/setup-gcloud/pull/669)
- Only warn when there are no authentications by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/671](https://togithub.com/google-github-actions/setup-gcloud/pull/671)
- Fix edge case when gcloud is not installed at all by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/672](https://togithub.com/google-github-actions/setup-gcloud/pull/672)
- Rename test step to a more accurate name by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/673](https://togithub.com/google-github-actions/setup-gcloud/pull/673)
- Release: v2.0.1 by
[@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot)
in
[https://github.com/google-github-actions/setup-gcloud/pull/674](https://togithub.com/google-github-actions/setup-gcloud/pull/674)

**Full Changelog**:
google-github-actions/setup-gcloud@v2...v2.0.1

###
[`v2.0.0`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2.0.0)

[Compare
Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1.1.1...v2.0.0)

**:warning: This version requires Node 20 or later!**

#### What's Changed

- dependabot: only do security updates by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/643](https://togithub.com/google-github-actions/setup-gcloud/pull/643)
- update all deps by [@&#8203;sethvargo](https://togithub.com/sethvargo)
in
[https://github.com/google-github-actions/setup-gcloud/pull/644](https://togithub.com/google-github-actions/setup-gcloud/pull/644)
- Update deps to Node 20 by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/653](https://togithub.com/google-github-actions/setup-gcloud/pull/653)
- Upgrade setup-cloud-sdk package by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/656](https://togithub.com/google-github-actions/setup-gcloud/pull/656)
- Add CI for release branches by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/661](https://togithub.com/google-github-actions/setup-gcloud/pull/661)
- Update and drop unnecessary deps by
[@&#8203;sethvargo](https://togithub.com/sethvargo) in
[https://github.com/google-github-actions/setup-gcloud/pull/662](https://togithub.com/google-github-actions/setup-gcloud/pull/662)
- Release: v2.0.0 by
[@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot)
in
[https://github.com/google-github-actions/setup-gcloud/pull/664](https://togithub.com/google-github-actions/setup-gcloud/pull/664)

**Full Changelog**:
google-github-actions/setup-gcloud@v1...v2.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cerbos/cerbos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in cloudquery/cloudquery Feb 28, 2024
…16953)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/setup-gcloud](https://togithub.com/google-github-actions/setup-gcloud) | action | major | `v0.7.0` -> `v2.1.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>google-github-actions/setup-gcloud (google-github-actions/setup-gcloud)</summary>

### [`v2.1.0`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2.1.0)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v2.0.1...v2.1.0)

#### What's Changed

-   Update deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/677](https://togithub.com/google-github-actions/setup-gcloud/pull/677)
-   Release: v2.1.0 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/678](https://togithub.com/google-github-actions/setup-gcloud/pull/678)

**Full Changelog**: google-github-actions/setup-gcloud@v2...v2.1.0

### [`v2.0.1`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2.0.1)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v2.0.0...v2.0.1)

#### What's Changed

-   Update README and CI to use latest version by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/665](https://togithub.com/google-github-actions/setup-gcloud/pull/665)
-   Don't warn when version is "latest" by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/669](https://togithub.com/google-github-actions/setup-gcloud/pull/669)
-   Only warn when there are no authentications by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/671](https://togithub.com/google-github-actions/setup-gcloud/pull/671)
-   Fix edge case when gcloud is not installed at all by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/672](https://togithub.com/google-github-actions/setup-gcloud/pull/672)
-   Rename test step to a more accurate name by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/673](https://togithub.com/google-github-actions/setup-gcloud/pull/673)
-   Release: v2.0.1 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/674](https://togithub.com/google-github-actions/setup-gcloud/pull/674)

**Full Changelog**: google-github-actions/setup-gcloud@v2...v2.0.1

### [`v2.0.0`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2.0.0)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1.1.1...v2.0.0)

**:warning: This version requires Node 20 or later!**

#### What's Changed

-   dependabot: only do security updates by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/643](https://togithub.com/google-github-actions/setup-gcloud/pull/643)
-   update all deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/644](https://togithub.com/google-github-actions/setup-gcloud/pull/644)
-   Update deps to Node 20 by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/653](https://togithub.com/google-github-actions/setup-gcloud/pull/653)
-   Upgrade setup-cloud-sdk package by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/656](https://togithub.com/google-github-actions/setup-gcloud/pull/656)
-   Add CI for release branches by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/661](https://togithub.com/google-github-actions/setup-gcloud/pull/661)
-   Update and drop unnecessary deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/662](https://togithub.com/google-github-actions/setup-gcloud/pull/662)
-   Release: v2.0.0 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/664](https://togithub.com/google-github-actions/setup-gcloud/pull/664)

**Full Changelog**: google-github-actions/setup-gcloud@v1...v2.0.0

### [`v1.1.1`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v1.1.1)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1.1.0...v1.1.1)

#### What's Changed

-   Fix docs about component installation for system-provided by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/615](https://togithub.com/google-github-actions/setup-gcloud/pull/615)
-   chore: update dependencies (automated) by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/623](https://togithub.com/google-github-actions/setup-gcloud/pull/623)
-   Switch to pull non-secret values from env by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/624](https://togithub.com/google-github-actions/setup-gcloud/pull/624)
-   Drop example workflows by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/627](https://togithub.com/google-github-actions/setup-gcloud/pull/627)
-   Add warning about `skip_install` by [@&#8203;ethanmdavidson](https://togithub.com/ethanmdavidson) in [https://github.com/google-github-actions/setup-gcloud/pull/630](https://togithub.com/google-github-actions/setup-gcloud/pull/630)
-   chore(deps): bump yaml from 2.2.1 to 2.2.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/google-github-actions/setup-gcloud/pull/629](https://togithub.com/google-github-actions/setup-gcloud/pull/629)
-   Update README.md by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/631](https://togithub.com/google-github-actions/setup-gcloud/pull/631)
-   Add support note by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/634](https://togithub.com/google-github-actions/setup-gcloud/pull/634)
-   chore: update dependencies (automated) by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/637](https://togithub.com/google-github-actions/setup-gcloud/pull/637)
-   Release: v1.1.1 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/638](https://togithub.com/google-github-actions/setup-gcloud/pull/638)

#### New Contributors

-   [@&#8203;ethanmdavidson](https://togithub.com/ethanmdavidson) made their first contribution in [https://github.com/google-github-actions/setup-gcloud/pull/630](https://togithub.com/google-github-actions/setup-gcloud/pull/630)

**Full Changelog**: google-github-actions/setup-gcloud@v1.1.0...v1.1.1

### [`v1.1.0`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v1.1.0)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1.0.1...v1.1.0)

#### What's Changed

-   Reduce duplicate in integration tests by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/591](https://togithub.com/google-github-actions/setup-gcloud/pull/591)
-   chore(deps): bump sinon from 14.0.2 to 15.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/google-github-actions/setup-gcloud/pull/596](https://togithub.com/google-github-actions/setup-gcloud/pull/596)
-   chore(deps): bump qs and express in /example-workflows/cloud-build by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/google-github-actions/setup-gcloud/pull/599](https://togithub.com/google-github-actions/setup-gcloud/pull/599)
-   Update CI and deps by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/603](https://togithub.com/google-github-actions/setup-gcloud/pull/603)
-   Note that metrics export should not be copied by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/604](https://togithub.com/google-github-actions/setup-gcloud/pull/604)
-   Add support for specifying version constraints by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/612](https://togithub.com/google-github-actions/setup-gcloud/pull/612)
-   Release: v1.1.0 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/613](https://togithub.com/google-github-actions/setup-gcloud/pull/613)

**Full Changelog**: google-github-actions/setup-gcloud@v1.0.1...v1.1.0

### [`v1.0.1`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v1.0.1)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1.0.0...v1.0.1)

#### What's Changed

-   fix: cleanup integration tests by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/582](https://togithub.com/google-github-actions/setup-gcloud/pull/582)
-   fix: docker integration test by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/583](https://togithub.com/google-github-actions/setup-gcloud/pull/583)
-   fix: suggest v1 instead of v0 by [@&#8203;KengoTODA](https://togithub.com/KengoTODA) in [https://github.com/google-github-actions/setup-gcloud/pull/584](https://togithub.com/google-github-actions/setup-gcloud/pull/584)
-   fix: update versions in examples by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/585](https://togithub.com/google-github-actions/setup-gcloud/pull/585)
-   Force authentication if GOOGLE_GHA_CREDS_PATH is set by [@&#8203;sethvargo](https://togithub.com/sethvargo) in [https://github.com/google-github-actions/setup-gcloud/pull/587](https://togithub.com/google-github-actions/setup-gcloud/pull/587)
-   fix: update docs by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/588](https://togithub.com/google-github-actions/setup-gcloud/pull/588)
-   Release: v1.0.1 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/589](https://togithub.com/google-github-actions/setup-gcloud/pull/589)

**Full Changelog**: google-github-actions/setup-gcloud@v1.0.0...v1.0.1

### [`v1.0.0`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v1.0.0)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v0.7.0...v1.0.0)

#### What's Changed

-   Document that WIF is supported for gsutil and bq now by [@&#8203;KengoTODA](https://togithub.com/KengoTODA) in [https://github.com/google-github-actions/setup-gcloud/pull/573](https://togithub.com/google-github-actions/setup-gcloud/pull/573)
-   feat: update for 1.0 release by [@&#8203;verbanicm](https://togithub.com/verbanicm) in [https://github.com/google-github-actions/setup-gcloud/pull/580](https://togithub.com/google-github-actions/setup-gcloud/pull/580)
-   Release: v1.0.0 by [@&#8203;google-github-actions-bot](https://togithub.com/google-github-actions-bot) in [https://github.com/google-github-actions/setup-gcloud/pull/581](https://togithub.com/google-github-actions/setup-gcloud/pull/581)

#### New Contributors

-   [@&#8203;KengoTODA](https://togithub.com/KengoTODA) made their first contribution in [https://github.com/google-github-actions/setup-gcloud/pull/573](https://togithub.com/google-github-actions/setup-gcloud/pull/573)

**Full Changelog**: google-github-actions/setup-gcloud@v0.6.2...v1.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants