Skip to content

Commit

Permalink
feat(bufbuild/buf): add minisign config (#26430)
Browse files Browse the repository at this point in the history
* feat(bufbuild/buf): add minisign config

* chore: update aqua to v2.34.0-1

- https://github.com/aquaproj/aqua/releases/tag/v2.34.0-1
- aquaproj/aqua#3103

* chore: update aqua to v2.34.0-2

* fix(bufbuild/buf): fix the indentation

* chore: update aqua to v2.34.0-4

* chore: update aqua to v2.34.0-5

* chore: update aqua to v2.34.0

---------

Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
3 people committed Sep 22, 2024
1 parent 49c93ab commit dc9b004
Show file tree
Hide file tree
Showing 12 changed files with 77 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
- run: actionlint -ignore "duplicate value"
2 changes: 1 addition & 1 deletion .github/workflows/debug-with-action-tmate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GITHUB_TOKEN: ${{github.token}}
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
aqua_opts: -l -a
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-ci-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-generate-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
- uses: aquaproj/registry-action/generate-registry@7b6e2c92250ab08b58f5c665f6e2ca4712bee2c3 # v0.2.1
2 changes: 1 addition & 1 deletion .github/workflows/wc-lintnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-test-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.33.0
aqua_version: v2.34.0
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN curl -sSfL -O https://github.com/raw/aquaproj/aqua-installer/v3.0
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
RUN echo "fb4b3b7d026e5aba1fc478c268e8fbd653e01404c8a8c6284fdba88ae62eda6a aqua-installer" | sha256sum -c
RUN chmod +x aqua-installer
RUN ./aqua-installer -v v2.33.0
RUN ./aqua-installer -v v2.34.0
COPY aqua-test.yaml aqua.yaml
COPY aqua-policy.yaml aqua-policy.yaml
2 changes: 2 additions & 0 deletions pkgs/bufbuild/buf/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ packages:
- name: bufbuild/buf@v1.42.0
- name: bufbuild/buf
version: v0.53.0
- name: bufbuild/buf
version: v0.45.0
- name: bufbuild/buf
version: v0.42.0
- name: bufbuild/buf
Expand Down
33 changes: 33 additions & 0 deletions pkgs/bufbuild/buf/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,31 @@ packages:
supported_envs:
- linux
- darwin
- version_constraint: semver("<= 0.45.0")
asset: buf-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
files:
- name: buf
src: buf/bin/buf
- name: protoc-gen-buf-breaking
src: buf/bin/protoc-gen-buf-breaking
- name: protoc-gen-buf-lint
src: buf/bin/protoc-gen-buf-lint
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
checksum:
type: github_release
asset: sha256.txt
algorithm: sha256
overrides:
- goos: linux
replacements:
arm64: aarch64
supported_envs:
- linux
- darwin
- version_constraint: semver("<= 0.53.0")
asset: buf-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
Expand All @@ -70,6 +95,10 @@ packages:
type: github_release
asset: sha256.txt
algorithm: sha256
minisign:
type: github_release
asset: sha256.txt.minisig
public_key: RWQ/i9xseZwBVE7pEniCNjlNOeeyp4BQgdZDLQcAohxEAH5Uj5DEKjv6
overrides:
- goos: linux
replacements:
Expand All @@ -96,6 +125,10 @@ packages:
type: github_release
asset: sha256.txt
algorithm: sha256
minisign:
type: github_release
asset: sha256.txt.minisig
public_key: RWQ/i9xseZwBVE7pEniCNjlNOeeyp4BQgdZDLQcAohxEAH5Uj5DEKjv6
overrides:
- goos: linux
replacements:
Expand Down
33 changes: 33 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc9b004

Please sign in to comment.