Skip to content

Commit 7bb497f

Browse files
authored
grpc: Update protobuf regenrate script (#4177)
- Pull in protobuf repo since one of our protos pulls in duration.proto - Update grpc_testing/messages.pb.go to pull in a recent change
1 parent 2c42474 commit 7bb497f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

interop/grpc_testing/messages.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

regenerate.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ echo "go install cmd/protoc-gen-go-grpc"
4040
echo "git clone https://github.com/grpc/grpc-proto"
4141
git clone --quiet https://github.com/grpc/grpc-proto ${WORKDIR}/grpc-proto
4242

43+
echo "git clone https://github.com/protocolbuffers/protobuf"
44+
git clone --quiet https://github.com/protocolbuffers/protobuf ${WORKDIR}/protobuf
45+
4346
# Pull in code.proto as a proto dependency
4447
mkdir -p ${WORKDIR}/googleapis/google/rpc
4548
echo "curl https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto"
@@ -87,6 +90,7 @@ for src in ${SOURCES[@]}; do
8790
-I"." \
8891
-I${WORKDIR}/grpc-proto \
8992
-I${WORKDIR}/googleapis \
93+
-I${WORKDIR}/protobuf/src \
9094
-I${WORKDIR}/istio \
9195
${src}
9296
done
@@ -97,6 +101,7 @@ for src in ${LEGACY_SOURCES[@]}; do
97101
-I"." \
98102
-I${WORKDIR}/grpc-proto \
99103
-I${WORKDIR}/googleapis \
104+
-I${WORKDIR}/protobuf/src \
100105
-I${WORKDIR}/istio \
101106
${src}
102107
done

0 commit comments

Comments
 (0)