Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

chore(deps): update dependency aquaproj/aqua-installer to v3 #101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 22, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
aquaproj/aqua-installer major v0.3.0 -> v3.0.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

aquaproj/aqua-installer (aquaproj/aqua-installer)

v3.0.1

Compare Source

Bug Fixes

#​634 #​636 Fix a bug that it fails to install aqua v2.27.4

Updated the bootstrap version of aqua from v2.25.1 to v2.27.4

v3.0.0

Compare Source

⚠️ Breaking Changes

#​610 aqua >= v2.25.1 is required.

Features

#​610 Re-enable Cosign and slsa-verifier

v2.3.2

Compare Source

#​607 export environment variable AQUA_DISABLE_COSIGN and AQUA_DISABLE_SLSA

https://github.com/aquaproj/aqua/issues/2759

To disable Cosign and slsa-verifier on subsequent steps.

v2.3.1

Compare Source

#​605 Disable Cosign and slsa-verifier

Until we will finish upgrading Cosign to v2, we disable Cosign and slsa-verifier.

https://github.com/aquaproj/aqua/issues/1665#issuecomment-2008588288

v2.3.0

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.2.0...v2.3.0

Features

#​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.
From this version, aqua supports disabling 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.

export AQUA_DISABLE_COSIGN=true
export AQUA_DISABLE_SLSA=true
./aqua-installer
- uses: aquaproj/[email protected]
  with:
    aqua_version: v2.22.0
  env:
    AQUA_DISABLE_COSIGN: "true"
    AQUA_DISABLE_SLSA: "true"

v2.2.0

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.1.3...v2.2.0

Features

#​365 #​550 #​551 Output the guide to set the environment variable PATH

aqua-installer outputs the following guide.

===============================================================
[INFO] aqua is installed into /root/.local/share/aquaproj-aqua/bin/aqua
[INFO] Please add the path to the environment variable "PATH"
[INFO] export PATH=${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin:$PATH
===============================================================

#​551 Use wget if curl isn't found

v2.1.3

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.1.2...v2.1.3

#​545 Update the bootstrap version to v2.16.4

To support aqua v2.17.0 or later on Windows.

https://github.com/aquaproj/aqua/releases/tag/v2.16.1

To upgrade aqua to v2.17.0 or later on Windows, you need to upgrade aqua to v2.16.1 or later first.

v2.1.2

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.1.1...v2.1.2

Fixes

#​432 Fix typo
#​461 #​463 Fix a bug that action doesn't work in a container

Fix a bug that action doesn't work in a container

#​461 #​463

GitHub Actions supports running a job in a container.

https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container

But in a container the variable ${{ github.action_path }} is wrong, so action can't access the script aqua-installer.
This is a known issue of GitHub Actions.

To solve the issue, we copy the content of the script aqua-installer into action itself, then action don't have to access the script aqua-installer.

v2.1.1

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.1.0...v2.1.1

Others

#​411 Update the bootstrapping aqua v1.26.2 to v2.2.3

This update enables to verify prerelease versions by Cosign and slsa-verifier.

ref. https://aquaproj.github.io/docs/reference/upgrade-guide/v2/change-semver

v2.1.0

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.0.2...v2.1.0

Features

#​403 Add an input policy_allow to run aqua policy allow

aqua >= v2.3.0

If policy_allow is true, aqua policy allow command is run.
If a Policy file path is set, aqua policy allow "${{inputs.policy_allow}}" is run.

See also

v2.0.2

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.0.1...v2.0.2

Bug Fixes

#​303 Update aqua for bootstrap to v1.26.2

v2.0.1

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v2.0.0...v2.0.1

Bug Fixes

#​300 Use shasum instead of sha256sum if sha256sum isn't found and skip checksum verification if they aren't found

  • Use shasum instead of sha256sum if sha256sum isn't found
  • If shasum and sha256sum aren't found, the checksum verification is skipped

v2.0.0

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v1.2.0...v2.0.0

⚠️ Breaking Changes ⚠️

aqua-installer v2 doesn't support specifying the install path anymore.

Features

#​277 Verify aqua with slsa-verifier

By this feature, you can install aqua securely.

v1.2.0

Compare Source

Issues | Pull Requests | aquaproj/aqua-installer@v1.1.2...v1.2.0

Features

#​286 GitHub Action: Support Windows PowerShell

Contributors

Thank you for your contribution!

@​knqyf263 #​286 🎉 New contributor!

v1.1.2

Compare Source

Pull Requests | aquaproj/aqua-installer@v1.1.1...v1.1.2

Others

#​168 #​169 show aqua version after installation

e.g.

$ aqua-installer -i /tmp/aqua
===> Downloading https://github.com/aquaproj/aqua/releases/latest/download/aqua_darwin_arm64.tar.gz ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5672k  100 5672k    0     0  3954k      0  0:00:01  0:00:01 --:--:-- 13.4M
x LICENSE
x README.md
x aqua
===> Install aqua latest (darwin/arm64) to /tmp/aqua
aqua version 1.19.2 (b6d0cfcbafb9f8371fc6dfb16a225fecd4646444)
aqua version 1.19.2 (b6d0cfcbafb9f8371fc6dfb16a225fecd4646444)

v1.1.1

Compare Source

Pull Requests | aquaproj/aqua-installer@v1.1.0...v1.1.1

Fixes

#​146 Fix GitHub Actions to support Windows

v1.1.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v1.0.0...v1.1.0

Features

#​134 Add an installer written in Go

$ go run github.com/aquaproj/[email protected] -help
aqua-installer - Install aqua

https://github.com/aquaproj/aqua-installer

Usage:
	$ aqua-installer [--aqua-version latest] [-o <install path>] [-os <OS>] [-arch <ARCH>]

Options:
	--help          show this help message
	--version       show aqua-installer version
	--aqua-version  aqua version. The default value is "latest"
	-o              File Path where aqua is installed. The default value is ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin
	-os             OS (e.g. linux, darwin, windows). By default, Go's runtime.GOOS. You can change by the environment variable AQUA_GOOS
	-arch           CPU Architecture (amd64 or arm64). By default, Go's runtime.GOARCH. You can change by the environment variable AQUA_GOARCH

e.g.

$ go run github.com/aquaproj/[email protected]

v1.0.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v0.7.0...v1.0.0

aqua-installer v1 has been released. 🎉

Basically, there is no change between v0.7.0 and v1.0.0.

v0.7.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v0.6.0...v0.7.0

Both shell script and GitHub Actions are changed.

⚠️ Breaking Change

#​88 change the default install path

Motivation

By default, the root privilege is required to install aqua at /usr/local/bin/aqua.
It isn't good. So we want to change the default install path.

Breaking Changes

Change the default install path from /usr/local/bin/aqua to ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua

The root privilege isn't needed.

GitHub Actions aqua-installer adds ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin to the environment variable PATH.

The install script aqua-installer doesn't update the environment variable PATH,
so you have to add ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin to the environment variable PATH before executing aqua.

v0.6.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v0.5.0...v0.6.0

Shell script isn't changed.
Only GitHub Actions is changed.

⚠️ Breaking Change

#​81 Support aqua >= v0.10.0

aqua >= v0.10.0 is required.

v0.5.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v0.4.0...v0.5.0

Shell script isn't changed.
Only GitHub Actions is changed.

⚠️ Breaking Change

#​78 Make the input aqua_version required. If aqua_version isn't set, action fails

- uses: aquaproj/[email protected]
  with:
    aqua_version: v0.8.13

v0.4.0

Compare Source

Pull Requests | aquaproj/aqua-installer@v0.3.0...v0.4.0

⚠️ Breaking Change

#​67 GitHub Actions: The parameter version was renamed to aqua_version
#​67 GitHub Actions: Run aqua i and set the environment variable PATH

You can use this Action more simply.

AS IS

GitHub Actions

- uses: aquaproj/[email protected]
  with:
    version: v0.8.7 # renovate: depName=aquaproj/aqua
- run: echo "${AQUA_ROOT_DIR:-$HOME/.aqua}/bin" >> $GITHUB_PATH
- run: aqua i -l

renovate.json

{
  "regexManagers": [
    {
      "fileMatch": ["^\\.github/.*\\.ya?ml$"],
      "matchStrings": [
        "version: (?<currentValue>.*?) # renovate: depName=(?<depName>.*)"
      ],
      "datasourceTemplate": "github-releases"
    }
  ]
}

TO BE

GitHub Actions

- uses: aquaproj/[email protected]
  with:
    aqua_version: v0.8.7

Renovate

{
  "extends": [
    "github>aquaproj/aqua-renovate-config#0.1.1"
  ]
}

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-installer-3.x branch from 7457ec1 to 8e10d91 Compare May 10, 2024 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants