Skip to content

Commit

Permalink
DEVP-3487 use latest protoc-go (#159)
Browse files Browse the repository at this point in the history
* DEVP-3487 use latest protoc-go

* DEVP-3487 use latest protoc-go

* DEVP-3487 rollback

* DEVP-3487 rollback

* DEVP-3487 rollback

* DEVP-3487 rollback

* DEVP-3487 fixed version p1

* DEVP-3487 fixed version p1

* DEVP-3487 fixed version p1

* DEVP-3487 fixed version p1

* DEVP-3487 fixed version p2

* DEVP-3487 fixed version p3

* DEVP-3487 fixed version p3
  • Loading branch information
MickStanciu authored Sep 16, 2024
1 parent 1c001be commit 20b3da0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions protoc-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FROM golang:1.22.0-alpine as builder
FROM golang:1.18.0-alpine as builder

ENV S12_PROTO_VERSION 1.32.0
ENV S12_PROTO_VERSION 1.31.0

ENV PROTOC_GEN_GO_VERSION 1.34.1
ENV PROTOC_GEN_DOC_VERSION 1.5.1
ENV PROTOC_GEN_GO_GRPC_VERSION 1.4.0
ENV PROTOC_GEN_GO_VTPROTO_VERSION 0.6.0
ENV PROTOC_GEN_GRPC_GATEWAY_VERSION 2.20.0

# install dependencies and build/install Go
ADD . /src
Expand Down
12 changes: 6 additions & 6 deletions protoc-go/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

set -o errexit

go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@latest
go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${PROTOC_GEN_GO_VERSION}
go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v${PROTOC_GEN_DOC_VERSION}
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v${PROTOC_GEN_GO_GRPC_VERSION}
go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v${PROTOC_GEN_GO_VTPROTO_VERSION}
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v${PROTOC_GEN_GRPC_GATEWAY_VERSION}
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v${PROTOC_GEN_GRPC_GATEWAY_VERSION}

go install github.com/SafetyCulture/protoc-gen-ratelimit/cmd/protoc-gen-ratelimit@latest
go install github.com/SafetyCulture/protoc-gen-workato/cmd/protoc-gen-workato@latest
Expand Down
2 changes: 1 addition & 1 deletion protoc-go/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.21.0
3.21.2

0 comments on commit 20b3da0

Please sign in to comment.