Skip to content

Commit

Permalink
feat(grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway): SLSA prove…
Browse files Browse the repository at this point in the history
…nance (#31943)

* feat(grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway): SLSA provenance

* fix(grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway): support old versions

* style: add a code comment

---------

Co-authored-by: Shunsuke Suzuki <[email protected]>
  • Loading branch information
scop and suzuki-shunsuke authored Feb 11, 2025
1 parent 094c429 commit bf37550
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: grpc-ecosystem/grpc-gateway/[email protected]
- name: grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
version: v2.13.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,41 @@ packages:
repo_owner: grpc-ecosystem
repo_name: grpc-gateway
description: Generate golang code to reverse proxy Protocol Buffer definitions to RESTful HTTP/1
asset: protoc-gen-grpc-gateway-{{.Version}}-{{.OS}}-{{.Arch}}
supported_envs:
- windows
- darwin
- linux/amd64
rosetta2: true
format: raw
replacements:
amd64: x86_64
files:
- name: protoc-gen-grpc-gateway
checksum:
type: github_release
asset: grpc-gateway_{{trimV .Version}}_checksums.txt
algorithm: sha256
version_constraint: "false"
version_overrides:
# v2.14.0 SLSA provenance https://github.com/aquaproj/aqua-registry/pull/31943#issuecomment-2649535381
- version_constraint: semver("<= 2.13.0")
asset: protoc-gen-grpc-gateway-{{.Version}}-{{.OS}}-{{.Arch}}
supported_envs:
- windows
- darwin
- linux/amd64
rosetta2: true
format: raw
replacements:
amd64: x86_64
files:
- name: protoc-gen-grpc-gateway
checksum:
type: github_release
asset: grpc-gateway_{{trimV .Version}}_checksums.txt
algorithm: sha256
- version_constraint: "true"
asset: protoc-gen-grpc-gateway-{{.Version}}-{{.OS}}-{{.Arch}}
supported_envs:
- windows
- darwin
- linux/amd64
rosetta2: true
format: raw
replacements:
amd64: x86_64
files:
- name: protoc-gen-grpc-gateway
checksum:
type: github_release
asset: grpc-gateway_{{trimV .Version}}_checksums.txt
algorithm: sha256
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
53 changes: 38 additions & 15 deletions registry.yaml

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

0 comments on commit bf37550

Please sign in to comment.