Skip to content

Commit

Permalink
Merge pull request grpc#14504 from grpc/v1.10.x
Browse files Browse the repository at this point in the history
Fix dockerized Linux artifact builds on master (upmerge from 1.10.x)
  • Loading branch information
mehrdada authored Feb 23, 2018
2 parents a2310c0 + 5b0685b commit cb90b14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions tools/run_tests/dockerize/docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ then
# clone gRPC submodules, use data from locally cloned submodules where possible
# TODO: figure out a way to eliminate this following shellcheck suppressions
# shellcheck disable=SC2016,SC1004
(cd "${EXTERNAL_GIT_ROOT}" && git submodule foreach 'cd /var/local/git/grpc \
&& git submodule update --init --reference ${EXTERNAL_GIT_ROOT}/${name} \
${name}')
(cd "${EXTERNAL_GIT_ROOT}" && git submodule foreach 'git clone ${EXTERNAL_GIT_ROOT}/${name} /var/local/git/grpc/${name}')
(cd /var/local/git/grpc && git submodule init)
else
mkdir -p "/var/local/git/grpc/$RELATIVE_COPY_PATH"
cp -r "$EXTERNAL_GIT_ROOT/$RELATIVE_COPY_PATH"/* "/var/local/git/grpc/$RELATIVE_COPY_PATH"
Expand Down
9 changes: 4 additions & 5 deletions tools/run_tests/dockerize/docker_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
export PATH=$PATH:/usr/bin/llvm-symbolizer

mkdir -p /var/local/git
git clone /var/local/jenkins/grpc /var/local/git/grpc
git clone /var/local/jenkins/grpc /var/local/git/grpc
# clone gRPC submodules, use data from locally cloned submodules where possible
# TODO: figure out a way to eliminate this shellcheck suppression:
# shellcheck disable=SC2016,SC1004
(cd /var/local/jenkins/grpc/ && git submodule foreach 'cd /var/local/git/grpc \
&& git submodule update --init --reference /var/local/jenkins/grpc/${name} \
${name}')
# shellcheck disable=SC2016
(cd /var/local/jenkins/grpc/ && git submodule foreach 'git clone /var/local/jenkins/grpc/${name} /var/local/git/grpc/${name}')
(cd /var/local/git/grpc/ && git submodule init)

mkdir -p reports

Expand Down

0 comments on commit cb90b14

Please sign in to comment.