From fd0d4c6b709769271a444392957d1bd7a8139fcb Mon Sep 17 00:00:00 2001 From: pkwarren <398111+pkwarren@users.noreply.github.com> Date: Tue, 21 Oct 2025 14:21:14 +0000 Subject: [PATCH 1/2] detected new plugin versions --- plugins/bufbuild/es/v2.10.0/.dockerignore | 3 + plugins/bufbuild/es/v2.10.0/Dockerfile | 21 + plugins/bufbuild/es/v2.10.0/buf.plugin.yaml | 20 + plugins/bufbuild/es/v2.10.0/package-lock.json | 591 ++++++++++++++++++ plugins/bufbuild/es/v2.10.0/package.json | 10 + plugins/grpc/cpp/v1.76.0/.dockerignore | 2 + plugins/grpc/cpp/v1.76.0/Dockerfile | 29 + plugins/grpc/cpp/v1.76.0/buf.plugin.yaml | 13 + plugins/grpc/csharp/v1.76.0/.dockerignore | 3 + plugins/grpc/csharp/v1.76.0/Dockerfile | 35 ++ plugins/grpc/csharp/v1.76.0/buf.plugin.yaml | 20 + plugins/grpc/csharp/v1.76.0/build.csproj | 9 + plugins/grpc/objc/v1.76.0/.dockerignore | 2 + plugins/grpc/objc/v1.76.0/Dockerfile | 29 + plugins/grpc/objc/v1.76.0/buf.plugin.yaml | 11 + plugins/grpc/php/v1.76.0/.dockerignore | 2 + plugins/grpc/php/v1.76.0/Dockerfile | 29 + plugins/grpc/php/v1.76.0/buf.plugin.yaml | 11 + plugins/grpc/python/v1.76.0/.dockerignore | 2 + plugins/grpc/python/v1.76.0/Dockerfile | 29 + plugins/grpc/python/v1.76.0/buf.plugin.yaml | 19 + plugins/grpc/ruby/v1.76.0/.dockerignore | 2 + plugins/grpc/ruby/v1.76.0/Dockerfile | 29 + plugins/grpc/ruby/v1.76.0/buf.plugin.yaml | 11 + .../bufbuild/es/v2.10.0/eliza/plugin.sum | 1 + .../bufbuild/es/v2.10.0/petapis/plugin.sum | 1 + .../grpc/cpp/v1.76.0/eliza/plugin.sum | 1 + .../grpc/cpp/v1.76.0/petapis/plugin.sum | 1 + .../grpc/csharp/v1.76.0/eliza/plugin.sum | 1 + .../grpc/csharp/v1.76.0/petapis/plugin.sum | 1 + .../grpc/objc/v1.76.0/eliza/plugin.sum | 1 + .../grpc/objc/v1.76.0/petapis/plugin.sum | 1 + .../grpc/php/v1.76.0/eliza/plugin.sum | 1 + .../grpc/php/v1.76.0/petapis/plugin.sum | 1 + .../grpc/python/v1.76.0/eliza/plugin.sum | 1 + .../grpc/python/v1.76.0/petapis/plugin.sum | 1 + .../grpc/ruby/v1.76.0/eliza/plugin.sum | 1 + .../grpc/ruby/v1.76.0/petapis/plugin.sum | 1 + 38 files changed, 946 insertions(+) create mode 100644 plugins/bufbuild/es/v2.10.0/.dockerignore create mode 100644 plugins/bufbuild/es/v2.10.0/Dockerfile create mode 100644 plugins/bufbuild/es/v2.10.0/buf.plugin.yaml create mode 100644 plugins/bufbuild/es/v2.10.0/package-lock.json create mode 100644 plugins/bufbuild/es/v2.10.0/package.json create mode 100644 plugins/grpc/cpp/v1.76.0/.dockerignore create mode 100644 plugins/grpc/cpp/v1.76.0/Dockerfile create mode 100644 plugins/grpc/cpp/v1.76.0/buf.plugin.yaml create mode 100644 plugins/grpc/csharp/v1.76.0/.dockerignore create mode 100644 plugins/grpc/csharp/v1.76.0/Dockerfile create mode 100644 plugins/grpc/csharp/v1.76.0/buf.plugin.yaml create mode 100644 plugins/grpc/csharp/v1.76.0/build.csproj create mode 100644 plugins/grpc/objc/v1.76.0/.dockerignore create mode 100644 plugins/grpc/objc/v1.76.0/Dockerfile create mode 100644 plugins/grpc/objc/v1.76.0/buf.plugin.yaml create mode 100644 plugins/grpc/php/v1.76.0/.dockerignore create mode 100644 plugins/grpc/php/v1.76.0/Dockerfile create mode 100644 plugins/grpc/php/v1.76.0/buf.plugin.yaml create mode 100644 plugins/grpc/python/v1.76.0/.dockerignore create mode 100644 plugins/grpc/python/v1.76.0/Dockerfile create mode 100644 plugins/grpc/python/v1.76.0/buf.plugin.yaml create mode 100644 plugins/grpc/ruby/v1.76.0/.dockerignore create mode 100644 plugins/grpc/ruby/v1.76.0/Dockerfile create mode 100644 plugins/grpc/ruby/v1.76.0/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/bufbuild/es/v2.10.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/bufbuild/es/v2.10.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/cpp/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/cpp/v1.76.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/csharp/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/csharp/v1.76.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/objc/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/objc/v1.76.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/php/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/php/v1.76.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/python/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/python/v1.76.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/ruby/v1.76.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/ruby/v1.76.0/petapis/plugin.sum diff --git a/plugins/bufbuild/es/v2.10.0/.dockerignore b/plugins/bufbuild/es/v2.10.0/.dockerignore new file mode 100644 index 000000000..771bbbaa9 --- /dev/null +++ b/plugins/bufbuild/es/v2.10.0/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!package*.json diff --git a/plugins/bufbuild/es/v2.10.0/Dockerfile b/plugins/bufbuild/es/v2.10.0/Dockerfile new file mode 100644 index 000000000..0f6f83020 --- /dev/null +++ b/plugins/bufbuild/es/v2.10.0/Dockerfile @@ -0,0 +1,21 @@ +# syntax=docker/dockerfile:1.19 +FROM node:24.10.0-bookworm AS build +WORKDIR /app +COPY --link package*.json . +RUN npm ci \ + && find node_modules/typescript ! -name 'typescript.js' ! -name 'package.json' -type f -exec rm -f {} + \ + && find node_modules/typescript -depth -type d -empty -delete \ + && ./node_modules/.bin/esbuild ./node_modules/.bin/protoc-gen-es --bundle --external:typescript --platform=node --outfile=protoc-gen-es.js + +FROM gcr.io/distroless/nodejs24-debian12:latest@sha256:acc00c9fd71a24aea69e53c01cee55f54383182af2557b9ec77432bbb36ec911 AS node + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=node --chmod=0755 /nodejs/bin/node /nodejs/bin/node +COPY --link --from=build --chmod=0755 /app/protoc-gen-es.js /app/protoc-gen-es.js +COPY --link --from=build /app/node_modules/typescript /app/node_modules/typescript +USER nobody +ENTRYPOINT ["/nodejs/bin/node"] +CMD [ "/app/protoc-gen-es.js" ] diff --git a/plugins/bufbuild/es/v2.10.0/buf.plugin.yaml b/plugins/bufbuild/es/v2.10.0/buf.plugin.yaml new file mode 100644 index 000000000..de3197970 --- /dev/null +++ b/plugins/bufbuild/es/v2.10.0/buf.plugin.yaml @@ -0,0 +1,20 @@ +version: v1 +name: buf.build/bufbuild/es +plugin_version: v2.10.0 +source_url: https://github.com/bufbuild/protobuf-es +integration_guide_url: https://github.com/bufbuild/protobuf-es#quickstart +description: Types for TypeScript/JavaScript for use in web browsers and Node.js. Generates message and enum types, but also services for use with Connect v2. +output_languages: + - javascript + - typescript +registry: + opts: + - import_extension=js + npm: + import_style: module + rewrite_import_path_suffix: pb.js + deps: + - package: '@bufbuild/protobuf' + version: ^2.10.0 +spdx_license_id: Apache-2.0 +license_url: https://github.com/bufbuild/protobuf-es/blob/v2.10.0/LICENSE diff --git a/plugins/bufbuild/es/v2.10.0/package-lock.json b/plugins/bufbuild/es/v2.10.0/package-lock.json new file mode 100644 index 000000000..b0c6205d3 --- /dev/null +++ b/plugins/bufbuild/es/v2.10.0/package-lock.json @@ -0,0 +1,591 @@ +{ + "name": "plugins-bufbuild-protobuf-es", + "version": "2.10.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "plugins-bufbuild-protobuf-es", + "version": "2.10.0", + "dependencies": { + "@bufbuild/protoc-gen-es": "2.10.0" + }, + "devDependencies": { + "esbuild": "^0.25.1" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.10.0.tgz", + "integrity": "sha512-fdRs9PSrBF7QUntpZpq6BTw58fhgGJojgg39m9oFOJGZT+nip9b0so5cYY1oWl5pvemDLr0cPPsH46vwThEbpQ==", + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, + "node_modules/@bufbuild/protoc-gen-es": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.10.0.tgz", + "integrity": "sha512-g3xtuxeMkbacn8/qWQ8NbHBA8unLAvGD7sjcXV1/lfO4iCfd6hYL1Z+rn2yLQZE/JEkG+GPZoIs7m5KI5VYaMw==", + "license": "Apache-2.0", + "dependencies": { + "@bufbuild/protobuf": "2.10.0", + "@bufbuild/protoplugin": "2.10.0" + }, + "bin": { + "protoc-gen-es": "bin/protoc-gen-es" + }, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "@bufbuild/protobuf": "2.10.0" + }, + "peerDependenciesMeta": { + "@bufbuild/protobuf": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.10.0.tgz", + "integrity": "sha512-GPJOZ1Gp9/Ci3MXP3yI7+q4G7IhB5cSpbLjsfnBILxtNx69I9+ix3r9P7JfewHvqMjtPe6L+YWX1LPBGNfZMGw==", + "license": "Apache-2.0", + "dependencies": { + "@bufbuild/protobuf": "2.10.0", + "@typescript/vfs": "^1.5.2", + "typescript": "5.4.5" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", + "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", + "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", + "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", + "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", + "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", + "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", + "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", + "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", + "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", + "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", + "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", + "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", + "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", + "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", + "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", + "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", + "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", + "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", + "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", + "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", + "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", + "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", + "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", + "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", + "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", + "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@typescript/vfs": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.6.1.tgz", + "integrity": "sha512-JwoxboBh7Oz1v38tPbkrZ62ZXNHAk9bJ7c9x0eI5zBfBnBYGhURdbnh7Z4smN/MV48Y5OCcZb58n972UtbazsA==", + "license": "MIT", + "dependencies": { + "debug": "^4.1.1" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/esbuild": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", + "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.11", + "@esbuild/android-arm": "0.25.11", + "@esbuild/android-arm64": "0.25.11", + "@esbuild/android-x64": "0.25.11", + "@esbuild/darwin-arm64": "0.25.11", + "@esbuild/darwin-x64": "0.25.11", + "@esbuild/freebsd-arm64": "0.25.11", + "@esbuild/freebsd-x64": "0.25.11", + "@esbuild/linux-arm": "0.25.11", + "@esbuild/linux-arm64": "0.25.11", + "@esbuild/linux-ia32": "0.25.11", + "@esbuild/linux-loong64": "0.25.11", + "@esbuild/linux-mips64el": "0.25.11", + "@esbuild/linux-ppc64": "0.25.11", + "@esbuild/linux-riscv64": "0.25.11", + "@esbuild/linux-s390x": "0.25.11", + "@esbuild/linux-x64": "0.25.11", + "@esbuild/netbsd-arm64": "0.25.11", + "@esbuild/netbsd-x64": "0.25.11", + "@esbuild/openbsd-arm64": "0.25.11", + "@esbuild/openbsd-x64": "0.25.11", + "@esbuild/openharmony-arm64": "0.25.11", + "@esbuild/sunos-x64": "0.25.11", + "@esbuild/win32-arm64": "0.25.11", + "@esbuild/win32-ia32": "0.25.11", + "@esbuild/win32-x64": "0.25.11" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + } + } +} diff --git a/plugins/bufbuild/es/v2.10.0/package.json b/plugins/bufbuild/es/v2.10.0/package.json new file mode 100644 index 000000000..0ed84f71f --- /dev/null +++ b/plugins/bufbuild/es/v2.10.0/package.json @@ -0,0 +1,10 @@ +{ + "name": "plugins-bufbuild-protobuf-es", + "version": "2.10.0", + "dependencies": { + "@bufbuild/protoc-gen-es": "2.10.0" + }, + "devDependencies": { + "esbuild": "^0.25.1" + } +} diff --git a/plugins/grpc/cpp/v1.76.0/.dockerignore b/plugins/grpc/cpp/v1.76.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/grpc/cpp/v1.76.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/grpc/cpp/v1.76.0/Dockerfile b/plugins/grpc/cpp/v1.76.0/Dockerfile new file mode 100644 index 000000000..d25ea645c --- /dev/null +++ b/plugins/grpc/cpp/v1.76.0/Dockerfile @@ -0,0 +1,29 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_cpp_plugin + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_cpp_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_cpp_plugin_binary"] diff --git a/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml b/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..178e3a331 --- /dev/null +++ b/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml @@ -0,0 +1,13 @@ +version: v1 +name: buf.build/grpc/cpp +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates C++ client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/cpp:v32.1 +output_languages: + - cpp +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE +registry: + cmake: {} diff --git a/plugins/grpc/csharp/v1.76.0/.dockerignore b/plugins/grpc/csharp/v1.76.0/.dockerignore new file mode 100644 index 000000000..b2a42ae1e --- /dev/null +++ b/plugins/grpc/csharp/v1.76.0/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!build.csproj diff --git a/plugins/grpc/csharp/v1.76.0/Dockerfile b/plugins/grpc/csharp/v1.76.0/Dockerfile new file mode 100644 index 000000000..18334f1d5 --- /dev/null +++ b/plugins/grpc/csharp/v1.76.0/Dockerfile @@ -0,0 +1,35 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_csharp_plugin + +FROM mcr.microsoft.com/dotnet/sdk:8.0.415-bookworm-slim@sha256:f2f0cb3af991eb6959c8a20551b0152f10cce61354c089dd863a7b72c0f00fea AS dotnetrestore +WORKDIR /build +COPY --link ./build.csproj /build/build.csproj +RUN mkdir /nuget && dotnet restore --packages /nuget + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=dotnetrestore /nuget /nuget +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_csharp_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_csharp_plugin_binary"] diff --git a/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml b/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..f69265485 --- /dev/null +++ b/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml @@ -0,0 +1,20 @@ +version: v1 +name: buf.build/grpc/csharp +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates C# client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/csharp:v32.1 +output_languages: + - csharp +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE +registry: + opts: + - base_namespace= + nuget: + target_frameworks: + - netstandard2.0 + deps: + - name: Grpc.Net.Common + version: 2.71.0 diff --git a/plugins/grpc/csharp/v1.76.0/build.csproj b/plugins/grpc/csharp/v1.76.0/build.csproj new file mode 100644 index 000000000..e5b79ed07 --- /dev/null +++ b/plugins/grpc/csharp/v1.76.0/build.csproj @@ -0,0 +1,9 @@ + + + netstandard2.0 + + + + + + diff --git a/plugins/grpc/objc/v1.76.0/.dockerignore b/plugins/grpc/objc/v1.76.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/grpc/objc/v1.76.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/grpc/objc/v1.76.0/Dockerfile b/plugins/grpc/objc/v1.76.0/Dockerfile new file mode 100644 index 000000000..88df0bb88 --- /dev/null +++ b/plugins/grpc/objc/v1.76.0/Dockerfile @@ -0,0 +1,29 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_objective_c_plugin + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_objective_c_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_objective_c_plugin_binary"] diff --git a/plugins/grpc/objc/v1.76.0/buf.plugin.yaml b/plugins/grpc/objc/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..d07149be7 --- /dev/null +++ b/plugins/grpc/objc/v1.76.0/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/grpc/objc +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates Objective-C client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/objc:v32.1 +output_languages: + - objective_c +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE diff --git a/plugins/grpc/php/v1.76.0/.dockerignore b/plugins/grpc/php/v1.76.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/grpc/php/v1.76.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/grpc/php/v1.76.0/Dockerfile b/plugins/grpc/php/v1.76.0/Dockerfile new file mode 100644 index 000000000..85d248a6a --- /dev/null +++ b/plugins/grpc/php/v1.76.0/Dockerfile @@ -0,0 +1,29 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_php_plugin + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_php_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_php_plugin_binary"] diff --git a/plugins/grpc/php/v1.76.0/buf.plugin.yaml b/plugins/grpc/php/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..a304d4a1a --- /dev/null +++ b/plugins/grpc/php/v1.76.0/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/grpc/php +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates PHP client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/php:v32.1 +output_languages: + - php +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE diff --git a/plugins/grpc/python/v1.76.0/.dockerignore b/plugins/grpc/python/v1.76.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/grpc/python/v1.76.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/grpc/python/v1.76.0/Dockerfile b/plugins/grpc/python/v1.76.0/Dockerfile new file mode 100644 index 000000000..ab2c47cc3 --- /dev/null +++ b/plugins/grpc/python/v1.76.0/Dockerfile @@ -0,0 +1,29 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_python_plugin + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_python_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_python_plugin_binary"] diff --git a/plugins/grpc/python/v1.76.0/buf.plugin.yaml b/plugins/grpc/python/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..4facbbf09 --- /dev/null +++ b/plugins/grpc/python/v1.76.0/buf.plugin.yaml @@ -0,0 +1,19 @@ +version: v1 +name: buf.build/grpc/python +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates Python client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/python:v32.1 +output_languages: + - python +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE +registry: + python: + package_type: "runtime" + # https://github.com/grpc/grpc/blob/v1.76.0/src/python/grpcio/python_version.py#L19 + requires_python: ">=3.9" + deps: + # https://pypi.org/project/grpcio/ + - "grpcio" diff --git a/plugins/grpc/ruby/v1.76.0/.dockerignore b/plugins/grpc/ruby/v1.76.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/grpc/ruby/v1.76.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/grpc/ruby/v1.76.0/Dockerfile b/plugins/grpc/ruby/v1.76.0/Dockerfile new file mode 100644 index 000000000..4af1100c6 --- /dev/null +++ b/plugins/grpc/ruby/v1.76.0/Dockerfile @@ -0,0 +1,29 @@ +# syntax=docker/dockerfile:1.19 +FROM debian:bookworm-20251020 AS build + +ARG TARGETARCH +ARG BAZEL_OPTS="--host_jvm_args=-Djava.net.preferIPv4Stack=true" + +RUN apt-get update \ + && apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config unzip zip +RUN curl -fsSL -o /usr/local/bin/bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.26.0/bazelisk-linux-${TARGETARCH} \ + && chmod +x /usr/local/bin/bazelisk \ + && mkdir /build \ + && chown nobody:nogroup /build \ + && usermod --home /build nobody + +USER nobody +WORKDIR /build + +RUN git clone --depth 1 --branch v1.76.0 https://github.com/grpc/grpc +WORKDIR /build/grpc +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_plugin_support +RUN bazelisk ${BAZEL_OPTS} build //src/compiler:grpc_ruby_plugin + +FROM gcr.io/distroless/cc-debian12:latest@sha256:0000f9dc0290f8eaf0ecceafbc35e803649087ea7879570fbc78372df7ac649b AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_ruby_plugin_binary . +USER nobody +ENTRYPOINT ["/grpc_ruby_plugin_binary"] diff --git a/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml b/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml new file mode 100644 index 000000000..d89181367 --- /dev/null +++ b/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/grpc/ruby +plugin_version: v1.76.0 +source_url: https://github.com/grpc/grpc +description: Generates Ruby client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/protocolbuffers/ruby:v32.1 +output_languages: + - ruby +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc/blob/v1.76.0/LICENSE diff --git a/tests/testdata/buf.build/bufbuild/es/v2.10.0/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/es/v2.10.0/eliza/plugin.sum new file mode 100644 index 000000000..af088d3a2 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/es/v2.10.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:ajhtujxkT/3FVGydgnyP5lpjsxWmKgRbpYPdzJp2vnU= diff --git a/tests/testdata/buf.build/bufbuild/es/v2.10.0/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/es/v2.10.0/petapis/plugin.sum new file mode 100644 index 000000000..d39ff592b --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/es/v2.10.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:vyd0P2fZPLvVOZWSQNonC4hMbdmnUVmCxs3kqlMm/7M= diff --git a/tests/testdata/buf.build/grpc/cpp/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/cpp/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..a891b0b7f --- /dev/null +++ b/tests/testdata/buf.build/grpc/cpp/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:4DHXLd7U9ibsQGGTVZrDNoq8LNP2odYSMRpgfEdCYxQ= diff --git a/tests/testdata/buf.build/grpc/cpp/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/cpp/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..0d2c276c2 --- /dev/null +++ b/tests/testdata/buf.build/grpc/cpp/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:+8EhcSBj0K4Vjh4anAdtLOYcnn+AMg8gVv6r19BiSYQ= diff --git a/tests/testdata/buf.build/grpc/csharp/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/csharp/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..956a52d4b --- /dev/null +++ b/tests/testdata/buf.build/grpc/csharp/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:4waUym8vI0ZEOq/TtnJRKRUPmHk4QL8zPXRwJhywvI0= diff --git a/tests/testdata/buf.build/grpc/csharp/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/csharp/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..481fcb91a --- /dev/null +++ b/tests/testdata/buf.build/grpc/csharp/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:kxBF97RNEQQiB/oEduqOgDZAxiXauyz+6hguxnCyP7I= diff --git a/tests/testdata/buf.build/grpc/objc/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/objc/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..4a8ce4e1b --- /dev/null +++ b/tests/testdata/buf.build/grpc/objc/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:xH0+e+UVLoU5KFcWSB5RfrGIxbyztCgFOquLQjg2/ps= diff --git a/tests/testdata/buf.build/grpc/objc/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/objc/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..7a01cb23f --- /dev/null +++ b/tests/testdata/buf.build/grpc/objc/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:P+OQBrxyTpehogGY3ZUlcIQ2pRq1iA9xpxjKXSN7u2E= diff --git a/tests/testdata/buf.build/grpc/php/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/php/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..9562ec529 --- /dev/null +++ b/tests/testdata/buf.build/grpc/php/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:t8ddjmMEdYs2qK5EdGh+yJd0+0QtWXI8m1rPJdQP2ME= diff --git a/tests/testdata/buf.build/grpc/php/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/php/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..e9917b60f --- /dev/null +++ b/tests/testdata/buf.build/grpc/php/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:naIZIvbTbik+yo7qkWOGg+6wGXddPG2kvdH2+V2CJU4= diff --git a/tests/testdata/buf.build/grpc/python/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/python/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..0208ffc62 --- /dev/null +++ b/tests/testdata/buf.build/grpc/python/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:tzSa6/8xdKOIrF60gIktE2W8FbyoVb782wtuyK8wYcY= diff --git a/tests/testdata/buf.build/grpc/python/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/python/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..ca968829a --- /dev/null +++ b/tests/testdata/buf.build/grpc/python/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:/bm8y8KHZ5OaVGv2GDuXQc1ADOO5BrN+KJXEJO4iMy0= diff --git a/tests/testdata/buf.build/grpc/ruby/v1.76.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/ruby/v1.76.0/eliza/plugin.sum new file mode 100644 index 000000000..d04ee7f9b --- /dev/null +++ b/tests/testdata/buf.build/grpc/ruby/v1.76.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:y47G0y23L+GoClu0Kfl4ZgiV++TIrlmPeBxw0sKANjA= diff --git a/tests/testdata/buf.build/grpc/ruby/v1.76.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/ruby/v1.76.0/petapis/plugin.sum new file mode 100644 index 000000000..7e7dee7f8 --- /dev/null +++ b/tests/testdata/buf.build/grpc/ruby/v1.76.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:jT5MBhIRa08sICxgjVvNAQgauC2GnD8G9OZ64P+N5gY= From 1c24ea7b1d8c7168331d5be3687033d87386e7f1 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Wed, 22 Oct 2025 17:30:08 +0000 Subject: [PATCH 2/2] Apply suggestions from code review --- plugins/grpc/cpp/v1.76.0/buf.plugin.yaml | 2 +- plugins/grpc/csharp/v1.76.0/buf.plugin.yaml | 2 +- plugins/grpc/csharp/v1.76.0/build.csproj | 2 +- plugins/grpc/objc/v1.76.0/buf.plugin.yaml | 2 +- plugins/grpc/php/v1.76.0/buf.plugin.yaml | 2 +- plugins/grpc/python/v1.76.0/buf.plugin.yaml | 2 +- plugins/grpc/ruby/v1.76.0/buf.plugin.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml b/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml index 178e3a331..db794090e 100644 --- a/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/cpp/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates C++ client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/cpp:v32.1 + - plugin: buf.build/protocolbuffers/cpp:v33.0 output_languages: - cpp spdx_license_id: Apache-2.0 diff --git a/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml b/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml index f69265485..f713a51fe 100644 --- a/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/csharp/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates C# client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/csharp:v32.1 + - plugin: buf.build/protocolbuffers/csharp:v33.0 output_languages: - csharp spdx_license_id: Apache-2.0 diff --git a/plugins/grpc/csharp/v1.76.0/build.csproj b/plugins/grpc/csharp/v1.76.0/build.csproj index e5b79ed07..7b53d2077 100644 --- a/plugins/grpc/csharp/v1.76.0/build.csproj +++ b/plugins/grpc/csharp/v1.76.0/build.csproj @@ -4,6 +4,6 @@ - + diff --git a/plugins/grpc/objc/v1.76.0/buf.plugin.yaml b/plugins/grpc/objc/v1.76.0/buf.plugin.yaml index d07149be7..fec0162cd 100644 --- a/plugins/grpc/objc/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/objc/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates Objective-C client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/objc:v32.1 + - plugin: buf.build/protocolbuffers/objc:v33.0 output_languages: - objective_c spdx_license_id: Apache-2.0 diff --git a/plugins/grpc/php/v1.76.0/buf.plugin.yaml b/plugins/grpc/php/v1.76.0/buf.plugin.yaml index a304d4a1a..cd281b2ea 100644 --- a/plugins/grpc/php/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/php/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates PHP client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/php:v32.1 + - plugin: buf.build/protocolbuffers/php:v33.0 output_languages: - php spdx_license_id: Apache-2.0 diff --git a/plugins/grpc/python/v1.76.0/buf.plugin.yaml b/plugins/grpc/python/v1.76.0/buf.plugin.yaml index 4facbbf09..6cb5ea4cd 100644 --- a/plugins/grpc/python/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/python/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates Python client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/python:v32.1 + - plugin: buf.build/protocolbuffers/python:v33.0 output_languages: - python spdx_license_id: Apache-2.0 diff --git a/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml b/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml index d89181367..e9a2b0d85 100644 --- a/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml +++ b/plugins/grpc/ruby/v1.76.0/buf.plugin.yaml @@ -4,7 +4,7 @@ plugin_version: v1.76.0 source_url: https://github.com/grpc/grpc description: Generates Ruby client and server stubs for the gRPC framework. deps: - - plugin: buf.build/protocolbuffers/ruby:v32.1 + - plugin: buf.build/protocolbuffers/ruby:v33.0 output_languages: - ruby spdx_license_id: Apache-2.0