Skip to content

Commit

Permalink
update grpc dependencies
Browse files Browse the repository at this point in the history
update golang services according to updates grpc/grpc-go#3669
update Makefile with up-to-date building commands
  • Loading branch information
Lagovas committed Nov 25, 2021
1 parent 8f18f90 commit 5dd486d
Show file tree
Hide file tree
Showing 8 changed files with 2,653 additions and 1,061 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,13 @@ help:
## Update protobuf dependencies and regenerate .pb.go from .proto,
## use this target only when it is really needed, not for usual builds
build_protobuf:
@go get -u github.com/golang/protobuf/proto github.com/golang/protobuf/protoc-gen-go
@go get -u google.golang.org/grpc
@protoc --go_out=plugins=grpc:. -Icmd/acra-translator/grpc_api --go_opt=module=github.com/cossacklabs/acra cmd/acra-translator/grpc_api/*.proto
@go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
@protoc --go_out=`pwd` --go-grpc_out=`pwd` \
--go_opt=module=github.com/cossacklabs/acra \
--go-grpc_opt=module=github.com/cossacklabs/acra \
-Icmd/acra-translator/grpc_api \
cmd/acra-translator/grpc_api/*.proto
@python3 -m grpc_tools.protoc -Icmd/acra-translator/grpc_api --proto_path=. --python_out=tests/ --grpc_python_out=tests/ cmd/acra-translator/grpc_api/*.proto

## Build the application in the subdirectory (default)
Expand Down
1,192 changes: 283 additions & 909 deletions cmd/acra-translator/grpc_api/api.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 5dd486d

Please # to comment.