diff options
author | Matt Kwong <mattkwong@google.com> | 2016-09-22 17:15:15 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2016-09-28 16:55:14 -0700 |
commit | befac97048f42f55409bb38a34a75c38cbf34241 (patch) | |
tree | 23e3517411e5223df434daff57dfb146db3c9c59 /tools/dockerfile/interoptest/grpc_interop_http2 | |
parent | b97f867b390193daf18988958183143726602727 (diff) |
fixed local cloning of grpc/grpc submodules on docker
Diffstat (limited to 'tools/dockerfile/interoptest/grpc_interop_http2')
-rwxr-xr-x | tools/dockerfile/interoptest/grpc_interop_http2/build_interop.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/dockerfile/interoptest/grpc_interop_http2/build_interop.sh b/tools/dockerfile/interoptest/grpc_interop_http2/build_interop.sh index 46ddaf929a..64418bc63d 100755 --- a/tools/dockerfile/interoptest/grpc_interop_http2/build_interop.sh +++ b/tools/dockerfile/interoptest/grpc_interop_http2/build_interop.sh @@ -32,7 +32,11 @@ set -e mkdir -p /var/local/git -git clone --recursive /var/local/jenkins/grpc /var/local/git/grpc +git clone /var/local/jenkins/grpc /var/local/git/grpc + +# clone gRPC submodules +(cd /var/local/git/grpc/ && exec git submodule | awk '{ system("git submodule \ +update --init --reference ./../../jenkins/grpc" $2 " " $2) }') # copy service account keys if available cp -r /var/local/jenkins/service_account $HOME || true |