Adele Zhou | 6c38fbe | 2017-11-17 15:45:11 -0800 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
| 2 | # Copyright 2017 gRPC authors. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | set -ex -o igncr || set -ex |
| 17 | |
| 18 | which bazel |
| 19 | chmod +x "${KOKORO_GFILE_DIR}/bazel_wrapper.py" |
| 20 | |
| 21 | # change to grpc repo root |
| 22 | cd $(dirname $0)/../../.. |
| 23 | |
| 24 | source tools/internal_ci/helper_scripts/prepare_build_linux_rc |
| 25 | |
| 26 | "${KOKORO_GFILE_DIR}/bazel_wrapper.py" \ |
| 27 | --host_jvm_args=-Dbazel.DigestFunction=SHA1 \ |
| 28 | test --jobs="50" \ |
| 29 | --test_timeout="300,450,1200,3600" \ |
| 30 | --test_output=errors \ |
| 31 | --verbose_failures=true \ |
| 32 | --keep_going \ |
| 33 | --remote_accept_cached=true \ |
| 34 | --spawn_strategy=remote \ |
| 35 | --remote_local_fallback=false \ |
| 36 | --remote_timeout=3600 \ |
| 37 | --strategy=Javac=remote \ |
| 38 | --strategy=Closure=remote \ |
| 39 | --genrule_strategy=remote \ |
| 40 | --experimental_strict_action_env=true \ |
| 41 | --experimental_remote_platform_override='properties:{ name:"container-image" value:"docker://gcr.io/asci-toolchain/nosla-debian8-clang-fl@sha256:b80da64e2a6f75af122bbb70021ebaab98b073f144ab04653c0de49bd943d8e9" }' \ |
| 42 | --crosstool_top=@bazel_toolchains//configs/debian8_clang/0.1.0/bazel_0.6.0:toolchain \ |
| 43 | -- //test/... |