-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go.mod: Update google.golang.org/grpc and its dependencies
Also update the other places where specific versions are referenced and recompile the protos. PiperOrigin-RevId: 716217088
- Loading branch information
1 parent
a3821ce
commit 70583ee
Showing
31 changed files
with
577 additions
and
1,931 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,23 @@ set -e | |
|
||
echo 'Transpiling required protos to Go and Python.' | ||
|
||
if [[ "$(python -m grpc_tools.protoc --version)" != "libprotoc 26.1" ]]; then | ||
echo "Wrong grpc_tools.protoc version" | ||
exit 1 | ||
fi | ||
|
||
if [[ "$(protoc-gen-go --version)" != "protoc-gen-go v1.35.1" ]]; then | ||
echo "Wrong protoc-gen-go version, please run:" | ||
echo "$ go install google.golang.org/protobuf/cmd/[email protected]" | ||
exit 1 | ||
fi | ||
|
||
if [[ "$(protoc-gen-go-grpc --version)" != "protoc-gen-go-grpc 1.5.1" ]]; then | ||
echo "Wrong protoc-gen-go-grpc version, please run:" | ||
echo "$ go install google.golang.org/grpc/cmd/[email protected]" | ||
exit 1 | ||
fi | ||
|
||
# Go to this script's directory. | ||
cd "$(/usr/bin/dirname "$(/bin/readlink -e "${0}")")" | ||
|
||
|
This file contains 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
28 changes: 6 additions & 22 deletions
28
fleetspeak/src/client/channel/proto/fleetspeak_channel/channel.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
50 changes: 10 additions & 40 deletions
50
fleetspeak/src/client/daemonservice/proto/fleetspeak_daemonservice/config.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
28 changes: 6 additions & 22 deletions
28
fleetspeak/src/client/daemonservice/proto/fleetspeak_daemonservice/messages.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
74 changes: 15 additions & 59 deletions
74
fleetspeak/src/client/generic/proto/fleetspeak_client_generic/config.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.