diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b36d28..5a16714 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - aqua: aquaproj/aqua@0.3.0 + aqua: aquaproj/aqua@0.3.1 workflows: build: @@ -10,21 +10,13 @@ workflows: jobs: foo: docker: - - image: alpine:3.18.2 + - image: debian:12.0 steps: - run: command: | - apk add git curl bash + apt update -y + apt install -y git curl - checkout - aqua/aqua: - aqua_version: v2.9.0 - aqua_log_level: debug - aqua_config: aqua.yaml - aqua_only_link: false - aqua_all: true - aqua_exclude_tags: foo,bar - - run: - shell: /bin/bash -euo pipefail - command: | - command -v circleci - circleci version + aqua_version: v2.10.0 + - aqua/update-checksum diff --git a/aqua-checksums.json b/aqua-checksums.json new file mode 100644 index 0000000..b864001 --- /dev/null +++ b/aqua-checksums.json @@ -0,0 +1,24 @@ +{ + "checksums": [ + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_darwin_amd64.zip", + "checksum": "8221F411AC4F2465B7CFD31EFB6DA4568E5FD20BAD9F66AC312B23AFA4520FDD", + "algorithm": "sha256" + }, + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_linux_amd64.zip", + "checksum": "6B9D9C9A7B834237B6579353477DF3BB3730C11788170AD2A9E5D1230ABC6216", + "algorithm": "sha256" + }, + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_windows_amd64.zip", + "checksum": "2297D27978C61272184589C3C521514291E6258C3C87EBCB16FB61B32663414E", + "algorithm": "sha256" + }, + { + "id": "registries/github_content/github.com/aquaproj/aqua-registry/v4.27.0/registry.yaml", + "checksum": "AF0F0204D98A101A1F0CAD9834211E4AE329685FA9455B4BB650FE0B1C788493F65BA0440FF8F8FE91032CB0D91ED3F4A7C1742A76E1232D29457399F9854302", + "algorithm": "sha512" + } + ] +} diff --git a/aqua.yaml b/aqua.yaml index cf8102c..c761799 100644 --- a/aqua.yaml +++ b/aqua.yaml @@ -1,13 +1,13 @@ --- # aqua - Declarative CLI Version Manager # https://aquaproj.github.io/ -# checksum: -# enabled: true -# require_checksum: true +checksum: + enabled: true + require_checksum: true # supported_envs: # - all registries: - type: standard ref: v4.27.0 # renovate: depName=aquaproj/aqua-registry packages: -- name: CircleCI-Public/circleci-cli@v0.1.27054 +- name: int128/ghcp@v1.13.2 diff --git a/foo/aqua-checksums.json b/foo/aqua-checksums.json new file mode 100644 index 0000000..b864001 --- /dev/null +++ b/foo/aqua-checksums.json @@ -0,0 +1,24 @@ +{ + "checksums": [ + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_darwin_amd64.zip", + "checksum": "8221F411AC4F2465B7CFD31EFB6DA4568E5FD20BAD9F66AC312B23AFA4520FDD", + "algorithm": "sha256" + }, + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_linux_amd64.zip", + "checksum": "6B9D9C9A7B834237B6579353477DF3BB3730C11788170AD2A9E5D1230ABC6216", + "algorithm": "sha256" + }, + { + "id": "github_release/github.com/int128/ghcp/v1.13.2/ghcp_windows_amd64.zip", + "checksum": "2297D27978C61272184589C3C521514291E6258C3C87EBCB16FB61B32663414E", + "algorithm": "sha256" + }, + { + "id": "registries/github_content/github.com/aquaproj/aqua-registry/v4.27.0/registry.yaml", + "checksum": "AF0F0204D98A101A1F0CAD9834211E4AE329685FA9455B4BB650FE0B1C788493F65BA0440FF8F8FE91032CB0D91ED3F4A7C1742A76E1232D29457399F9854302", + "algorithm": "sha512" + } + ] +} diff --git a/foo/aqua.yaml b/foo/aqua.yaml new file mode 100644 index 0000000..c761799 --- /dev/null +++ b/foo/aqua.yaml @@ -0,0 +1,13 @@ +--- +# aqua - Declarative CLI Version Manager +# https://aquaproj.github.io/ +checksum: + enabled: true + require_checksum: true +# supported_envs: +# - all +registries: +- type: standard + ref: v4.27.0 # renovate: depName=aquaproj/aqua-registry +packages: +- name: int128/ghcp@v1.13.2