From 7868f422f754ef6c3d3fc6a74e278b0caa755b19 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 3 Feb 2024 10:26:37 -0800
Subject: [PATCH] chore(deps): update aqua-installer (#175)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [aquaproj/aqua](https://togithub.com/aquaproj/aqua) | minor |
`v2.21.3` -> `v2.23.1` |
|
[aquaproj/aqua-installer](https://togithub.com/aquaproj/aqua-installer)
| minor | `v2.2.0` -> `v2.3.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
aquaproj/aqua (aquaproj/aqua)
### [`v2.23.1`](https://togithub.com/aquaproj/aqua/releases/tag/v2.23.1)
[Compare
Source](https://togithub.com/aquaproj/aqua/compare/v2.23.0...v2.23.1-1)
[Pull
Requests](https://togithub.com/aquaproj/aqua/pulls?q=is%3Apr+milestone%3Av2.23.1)
|
[Issues](https://togithub.com/aquaproj/aqua/issues?q=is%3Aissue+milestone%3Av2.23.1)
| https://github.com/aquaproj/aqua/compare/v2.23.0...v2.23.1
##### Bug Fixes
[#2661](https://togithub.com/aquaproj/aqua/issues/2661)
[#2662](https://togithub.com/aquaproj/aqua/issues/2662)
update-checksum: Fix a bug that `update-checksum` doesn't work well if
packages use both `cargo` or `go_install` types and other types
For example, the package `eza-community/eza` uses `cargo` type for
darwin and windows/arm64 and `github_relaese` type for other platforms.
In this case, aqua update-checksum didn't work well.
https://github.com/aquaproj/aqua-registry/blob/15d67414625ea37e68ea8436dba9413d9bd9b540/pkgs/eza-community/eza/registry.yaml#L2
https://github.com/aquaproj/aqua-registry/blob/15d67414625ea37e68ea8436dba9413d9bd9b540/pkgs/eza-community/eza/registry.yaml#L54-L57
This release fixed the issue.
### [`v2.23.0`](https://togithub.com/aquaproj/aqua/releases/tag/v2.23.0)
[Compare
Source](https://togithub.com/aquaproj/aqua/compare/v2.22.0-1...v2.23.0)
[Pull
Requests](https://togithub.com/aquaproj/aqua/pulls?q=is%3Apr+milestone%3Av2.23.0)
|
[Issues](https://togithub.com/aquaproj/aqua/issues?q=is%3Aissue+milestone%3Av2.23.0)
| https://github.com/aquaproj/aqua/compare/v2.22.0...v2.23.0
##### Features
[#2649](https://togithub.com/aquaproj/aqua/issues/2649)
[#2652](https://togithub.com/aquaproj/aqua/issues/2652) cargo:
Trim a prefix from `cargo` package's version
##### Bug Fixes
[#2642](https://togithub.com/aquaproj/aqua/issues/2642) info:
Output `AQUA_DISABLE_COSIGN` and `AQUA_DISABLE_SLSA`
https://aquaproj.github.io/docs/reference/security/cosign-slsa/#disable-the-verification-with-cosign-and-slsa-provenance
[#2654](https://togithub.com/aquaproj/aqua/issues/2654)
generate-registry: Fix a bug that same version_overrides aren't merged
properly
##### Others
[#2644](https://togithub.com/aquaproj/aqua/issues/2644) Update
aqua-proxy to
[v1.2.5](https://togithub.com/aquaproj/aqua-proxy/releases/tag/v1.2.5)
[#2653](https://togithub.com/aquaproj/aqua/issues/2653) Update
[JSON Schema](https://togithub.com/aquaproj/aqua/tree/main/json-schema)
### [`v2.22.0`](https://togithub.com/aquaproj/aqua/releases/tag/v2.22.0)
[Compare
Source](https://togithub.com/aquaproj/aqua/compare/v2.21.3...v2.22.0-1)
[Pull
Requests](https://togithub.com/aquaproj/aqua/pulls?q=is%3Apr+milestone%3Av2.22.0)
|
[Issues](https://togithub.com/aquaproj/aqua/issues?q=is%3Aissue+milestone%3Av2.22.0)
| https://github.com/aquaproj/aqua/compare/v2.21.3...v2.22.0
##### Features
[#2631](https://togithub.com/orgs/aquaproj/discussions/2631)
[#2633](https://togithub.com/aquaproj/aqua/issues/2633)
[#2634](https://togithub.com/aquaproj/aqua/issues/2634) Support
disabling the verification with Cosign and SLSA Provenance
You can disable the verification with Cosign and SLSA Provenance if you
can't use them.
##### Why is the feature needed?
> \[!CAUTION]
> This feature is for users who can't use Cosign and slsa-verifier.
> Most users can use them, so most users don't need this feature.
> aqua installs Cosign and slsa-verifier internally, so you don't need
to install them yourself.
> If you can use Cosign and slsa-verifier, you should not disable them
because they are important for security.
Cosign and sla-verifier access some endpoints such as
`oauth2.sigstore.dev` and `fulcio.sigstore.dev`.
So to use them you need to allow the access to these endpoints.
But in some use cases you can't or don't want to do that.
For example, your company's network policy might not allow the access to
these endpoints.
To resolve the issue, this issue proposes to support disabling the
verification with Cosign and slsa-verifier.
##### How to use
You can use command line options `-disable-cosign` and `-disable-slsa`
or environment variables `AQUA_DISABLE_COSIGN` and `AQUA_DISABLE_SLSA`.
e.g.
```sh
aqua [-disable-cosign] [-disable-slsa] i
```
```sh
env AQUA_DISABLE_COSIGN=true AQUA_DISABLE_SLSA=true aqua i
```
##### Update dependencies
- Go 1.21.5 to 1.21.6
- goreleaser v1.22.1 to v1.23.0
-
[go.mod](https://togithub.com/aquaproj/aqua/compare/v2.21.3...v2.22.0#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6)
aquaproj/aqua-installer (aquaproj/aqua-installer)
###
[`v2.3.0`](https://togithub.com/aquaproj/aqua-installer/releases/tag/v2.3.0)
[Compare
Source](https://togithub.com/aquaproj/aqua-installer/compare/v2.2.0...v2.3.0)
[Issues](https://togithub.com/aquaproj/aqua-installer/issues?q=is%3Aissue+milestone%3Av2.3.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-installer/pulls?q=is%3Apr+milestone%3Av2.3.0)
| https://github.com/aquaproj/aqua-installer/compare/v2.2.0...v2.3.0
##### Features
[#580](https://togithub.com/aquaproj/aqua-installer/issues/580)
Support disabling the verification with Cosign and SLSA Provenance
> \[!CAUTION]
> This feature is for users who can't use Cosign and slsa-verifier.
> Most users can use them, so most users don't need this feature.
> aqua installs Cosign and slsa-verifier internally, so you don't need
to install them yourself.
> If you can use Cosign and slsa-verifier, you should not disable them
because they are important for security.
The bootstrap version is updated to [aqua
v2.22.0](https://togithub.com/aquaproj/aqua/releases/tag/v2.22.0).
From this version, [aqua supports disabling the verification with Cosign
and SLSA
Provenance](https://aquaproj.github.io/docs/reference/security/cosign-slsa#disable-the-verification-with-cosign-and-slsa-provenance).
To disable the verification with Cosign and SLSA Provenance when you
install aqua with aqua-installer,
please set the environment variables `AQUA_DISABLE_COSIGN` and
`AQUA_DISABLE_SLSA`.
```sh
export AQUA_DISABLE_COSIGN=true
export AQUA_DISABLE_SLSA=true
./aqua-installer
```
```yaml
- uses: aquaproj/aqua-installer@v2.3.0
with:
aqua_version: v2.22.0
env:
AQUA_DISABLE_COSIGN: "true"
AQUA_DISABLE_SLSA: "true"
```
---
### Configuration
📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone
America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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/scottames/dots).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Scott Ames
---
home/.chezmoiscripts/run_once_after_10_aqua.sh.tmpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/home/.chezmoiscripts/run_once_after_10_aqua.sh.tmpl b/home/.chezmoiscripts/run_once_after_10_aqua.sh.tmpl
index d95c990e..42c103ac 100644
--- a/home/.chezmoiscripts/run_once_after_10_aqua.sh.tmpl
+++ b/home/.chezmoiscripts/run_once_after_10_aqua.sh.tmpl
@@ -16,10 +16,10 @@ cyan='\033[0;36m'
clear='\033[0m'
# renovate: depName=aquaproj/aqua datasource=github-releases
-_aqua_latest_version=v2.21.3
+_aqua_latest_version=v2.23.1
# renovate: depName=aquaproj/aqua-installer datasource=github-releases
-_aqua_installer_version=v2.2.0
+_aqua_installer_version=v2.3.0
if command -v aqua; then
_aqua_current="$(aqua -v | head -n1 | cut -d" " -f3 | sed "s/^/v/")"
@@ -38,8 +38,8 @@ if [[ ! $(command -v aqua) ]]; then
_aqua_installer="aqua-installer"
# renovate: depName=aquaproj/aqua-installer datasource=github-releases
- _aqua_installer_version=v2.2.0
- _aqua_installer_sha256sum="d13118c3172d90ffa6be205344b93e8621de9bf47c852d80da188ffa6985c276"
+ _aqua_installer_version=v2.3.0
+ _aqua_installer_sha256sum="1577b99b74751a5ddeea757198cee3b600fce3ef18990540e4d0e667edcf1b5f"
printf "\n${cyan}💧 aqua-installer version${clear}:${magenta} %s\n${clear}" "${_aqua_installer_version}"