Merge branch 'v1.10.x' into v1.11.x

pull/14990/head
Mehrdad Afshari 7 years ago
commit 32c617ef6c
  1. 1
      tools/internal_ci/linux/grpc_build_packages.sh
  2. 7
      tools/run_tests/artifacts/build_package_ruby.sh

@ -30,6 +30,7 @@ set -ex
# where they can be accessed from within a docker container that builds
# the packages
mv ${KOKORO_GFILE_DIR}/github/grpc/artifacts input_artifacts || true
chmod +x input_artifacts/protoc*/* || true
ls -R input_artifacts || true
tools/run_tests/task_runner.py -f package linux -j 6

@ -53,8 +53,11 @@ for arch in {x86,x64}; do
output_dir="$base/src/ruby/tools/bin/${ruby_arch}-${plat}"
mkdir -p "$output_dir"/google/protobuf
mkdir -p "$output_dir"/google/protobuf/compiler # needed for plugin.proto
cp "$input_dir"/protoc* "$output_dir"/
cp "$input_dir"/grpc_ruby_plugin* "$output_dir"/
cp "$input_dir"/protoc* "$input_dir"/grpc_ruby_plugin* "$output_dir/"
if [[ "$plat" != "windows" ]]
then
chmod +x "$output_dir/protoc" "$output_dir/grpc_ruby_plugin"
fi
for proto in "${well_known_protos[@]}"; do
cp "$base/third_party/protobuf/src/google/protobuf/$proto.proto" "$output_dir/google/protobuf/$proto.proto"
done

Loading…
Cancel
Save