Requesting help with gRPC-Kotlin CI/CD setup

143 views
Skip to first unread message

Ralph Dugue

unread,
Sep 26, 2023, 2:42:50 PM9/26/23
to grpc.io
I'm currently Building a project to learn gRPC, and I'm running into an issue setting up builds using continuous integration. I'm using GitLab and my CI file can be found here. I get the following error when the ./gradlew generateProto

protoc: stdout: . stderr: /builds/<my-path>/.gradle/caches/modules-2/files-2.1/io.grpc/protoc-gen-grpc-java/1.57.2/d3f50bdc45086ae0d90f95e362fb506221940c2e/protoc-gen-grpc-java-1.57.2-linux-x86_64.exe: program not found or is not executable
  Please specify a program using absolute path or make sure the program is available in your PATH system variable
  --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.

My project is configured to use the protoc-gen-grpc-kotlin compiler and it works locally, but I am a bit lost on how to configure this in a pipeline to build a fat JAR. I would appreciate any guidance on this.
Reply all
Reply to author
Forward
0 new messages