Skip to content

Commit

Permalink
build(grpc): move to latest versions of protobuf/grpc codegen tools (#…
Browse files Browse the repository at this point in the history
…5789)

This updates the version for protobuf/grpc codegen tools as follows:
- protoc                        21.10   -> 27.2
- protoc-gen-go plugin          1.28.1  -> 1.34.2
- protoc-gen-go-grpc plugin     1.2.0   -> 1.4.0
- protoc-gen-kotlin-grpc plugin 1.2.1   -> 1.4.1
- protoc-gen-java-grpc plugin   1.45.1  -> 1.65.1
- python grpcio-tools           1.51.3  -> 1.64.1

The python grpcio-tools was not updated to the latest available version (1.65.1) because of
persisting issues with logs being spammed in that release.

**Tests**
The following tests were executed in order to guarantee that this update doesn't introduce
problematic behaviour:

- [x] control-plane and data-plane load tests (k6)
- [x] pipeline smoke tests
- [x] cluster update from 2.8.2
- [x] cluster update from 2.8.3

**Which issue(s) this PR fixes**:
Fixes #INFRA-1076
  • Loading branch information
lc525 authored Jul 23, 2024
1 parent 6dd9c19 commit 641928a
Show file tree
Hide file tree
Showing 55 changed files with 5,887 additions and 6,325 deletions.
14 changes: 7 additions & 7 deletions apis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ build: build-go build-kotlin build-v2-python update-copyright
# the latest version of protoc + language-specific plugins.

# https://github.com/protocolbuffers/protobuf/releases
PROTOC_VERSION ?= 21.10
PROTOC_VERSION ?= 27.2

# https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go
PROTOC_GEN_GO_VERSION ?= 1.28.1
PROTOC_GEN_GO_VERSION ?= 1.34.2

# https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc
PROTOC_GEN_GO_GRPC_VERSION ?= 1.2.0
PROTOC_GEN_GO_GRPC_VERSION ?= 1.4.0

# https://pypi.org/project/grpcio-tools/
PROTOC_GEN_PYTHON_GRPCIO_TOOLS_VERSION ?= 1.51.3
PROTOC_GEN_PYTHON_GRPCIO_TOOLS_VERSION ?= 1.64.1

# https://github.com/grpc/grpc-java
# https://mvnrepository.com/artifact/io.grpc/protoc-gen-grpc-java
PROTOC_GEN_JAVA_GRPC_VERSION ?= 1.45.1
PROTOC_GEN_JAVA_GRPC_VERSION ?= 1.65.1

# https://github.com/grpc/grpc-kotlin
# https://mvnrepository.com/artifact/io.grpc/protoc-gen-grpc-kotlin
PROTOC_GEN_KOTLIN_GRPC_VERSION ?= 1.2.1
PROTOC_GEN_KOTLIN_GRPC_JDK ?= jdk7
PROTOC_GEN_KOTLIN_GRPC_VERSION ?= 1.4.1
PROTOC_GEN_KOTLIN_GRPC_JDK ?= jdk8


################################################################################
Expand Down
26 changes: 13 additions & 13 deletions apis/go/mlops/agent/agent.pb.go

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

39 changes: 25 additions & 14 deletions apis/go/mlops/agent/agent_grpc.pb.go

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

12 changes: 6 additions & 6 deletions apis/go/mlops/agent_debug/agent_debug.pb.go

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

19 changes: 13 additions & 6 deletions apis/go/mlops/agent_debug/agent_debug_grpc.pb.go

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

Loading

0 comments on commit 641928a

Please sign in to comment.