Merge pull request #15559 from jtattermusch/speedup_macos_finalization

Avoid rsyncing entire workspace on mac workers
pull/14773/head
Jan Tattermusch 7 years ago committed by GitHub
commit bf21497775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      tools/internal_ci/macos/grpc_build_artifacts.sh
  2. 9
      tools/internal_ci/macos/grpc_distribtests.sh
  3. 9
      tools/internal_ci/macos/grpc_interop.sh
  4. 9
      tools/internal_ci/macos/grpc_interop_toprod.sh
  5. 2
      tools/internal_ci/macos/grpc_run_tests_matrix.sh

@ -32,4 +32,11 @@ time bash tools/distrib/build_ruby_environment_macos.sh
gem install rubygems-update
update_rubygems
tools/run_tests/task_runner.py -f artifact macos
tools/run_tests/task_runner.py -f artifact macos || FAILED="true"
tools/internal_ci/helper_scripts/delete_nonartifacts.sh || true
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -24,4 +24,11 @@ source tools/internal_ci/helper_scripts/prepare_build_macos_rc
mv ${KOKORO_GFILE_DIR}/github/grpc/artifacts input_artifacts || true
ls -R input_artifacts || true
tools/run_tests/task_runner.py -f distribtest macos
tools/run_tests/task_runner.py -f distribtest macos || FAILED="true"
tools/internal_ci/helper_scripts/delete_nonartifacts.sh || true
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -21,4 +21,11 @@ cd $(dirname $0)/../../..
source tools/internal_ci/helper_scripts/prepare_build_macos_interop_rc
source tools/internal_ci/helper_scripts/prepare_build_macos_rc
tools/run_tests/run_interop_tests.py -l objc -s all --use_docker -t -j 1
tools/run_tests/run_interop_tests.py -l objc -s all --use_docker -t -j 1 || FAILED="true"
tools/internal_ci/helper_scripts/delete_nonartifacts.sh || true
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -32,4 +32,11 @@ export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH="$(pwd)/etc/roots.pem"
tools/run_tests/run_interop_tests.py -l c++ \
--cloud_to_prod --cloud_to_prod_auth --prod_servers default gateway_v4 \
--service_account_key_file="${KOKORO_GFILE_DIR}/GrpcTesting-726eb1347f15.json" \
--skip_compute_engine_creds --internal_ci -t -j 4
--skip_compute_engine_creds --internal_ci -t -j 4 || FAILED="true"
tools/internal_ci/helper_scripts/delete_nonartifacts.sh || true
if [ "$FAILED" != "" ]
then
exit 1
fi

@ -25,6 +25,8 @@ tools/run_tests/run_tests_matrix.py $RUN_TESTS_FLAGS || FAILED="true"
# kill port_server.py to prevent the build from hanging
ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9
tools/internal_ci/helper_scripts/delete_nonartifacts.sh || true
if [ "$FAILED" != "" ]
then
exit 1

Loading…
Cancel
Save