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/stress_test/grpc_interop_stress_php | |
parent | b97f867b390193daf18988958183143726602727 (diff) |
fixed local cloning of grpc/grpc submodules on docker
Diffstat (limited to 'tools/dockerfile/stress_test/grpc_interop_stress_php')
-rwxr-xr-x | tools/dockerfile/stress_test/grpc_interop_stress_php/build_interop_stress.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/dockerfile/stress_test/grpc_interop_stress_php/build_interop_stress.sh b/tools/dockerfile/stress_test/grpc_interop_stress_php/build_interop_stress.sh index 87262f1d62..997cda6a35 100755 --- a/tools/dockerfile/stress_test/grpc_interop_stress_php/build_interop_stress.sh +++ b/tools/dockerfile/stress_test/grpc_interop_stress_php/build_interop_stress.sh @@ -32,12 +32,17 @@ set -ex 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 # copy service account keys if available cp -r /var/local/jenkins/service_account $HOME || true cd /var/local/git/grpc + +# clone gRPC submodules +git submodule | awk '{ system("git submodule update --init --reference \ +./../../jenkins/grpc" $2 " " $2) }' + rvm --default use ruby-2.1 make install-certs |