Repository navigation
Build from Envoy's Buf registry releases and publish automatically - #1
Merged
Merged
Conversation
Replace the vendored protos and the update-sha/update-api scripts with a
`buf export` of the Envoy release label. Envoy pushes every release to the
Buf registry with its third-party proto dependencies pinned in buf.lock,
so the export always has exactly what that release needs.
- Version comes from -PenvoyVersion (and optional -PbuildNumber).
- google/api/{annotations,http} and google/rpc/status come from
proto-google-common-protos (via grpc-protobuf) instead of being
bundled, so those classes aren't duplicated.
- Group is now net.woaf.jono.envoy; Wise SCM, Artifactory publishing,
CODEOWNERS and tw-rules removed; Renovate uses config:recommended.
- Publishing goes to the Maven Central Portal staging API.
- release.yml publishes unpublished Envoy releases (1.31.0+, at most five
per run) daily, tagging each; it is gated on the PUBLISH variable.
- Gradle 9.8.1, protobuf plugin 0.9.5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the vendored protos and the
update-sha.sh/update-api.shscripts with a build that exports each Envoy release straight from the Buf registry. Envoy pushes every release there with its third-party proto deps pinned by its ownapi/buf.lock, so there is nothing to hand-maintain../gradlew build -PenvoyVersion=1.40.0runsbuf export buf.build/envoyproxy/envoy:v1.40.0and compiles it (protoc 3.25, so the classes run on protobuf-java 3.25+ and 4.x).-PbuildNumber=1publishes a rebuild as1.40.0-1.google/api/{annotations,http}.protoandgoogle/rpc/status.protoare no longer bundled; they come fromproto-google-common-protosvia grpc-protobuf, so those classes are no longer duplicated.net.woaf.jono.envoy, artifactenvoy-api, published to the Maven Central Portal. Wise Artifactory publishing, CODEOWNERS and tw-rules removed.build.yml: build +publishToMavenLocalon PRs and main.release.yml: daily, publishes every Envoy release from 1.31.0 without av<version>tag, then tags it, at most 5 per run. Manual dispatch publishes one version or a rebuild. Does nothing until the repo variablePUBLISH=trueand theSONATYPE_USER/SONATYPE_PASSWORD/OSS_SIGNING_KEY/OSS_SIGNING_PASSWORDsecrets exist.Testing
io.envoyproxy/com.github.xds/io.envoyproxy.pgvpackages, Java 11 bytecode.com.transferwise.envoy:envoy-api:1.17.0: core tests (67) and e2e against Envoy 1.17 and 1.40, SotW and delta, all pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW