1#@IgnoreInspection BashAddShebang 2# Copyright 2023 The 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# bazelrc file for running gRPC tests in a docker sandbox to help 17# with debugging issues with RBE. 18# TODO(jtattermusch): Settings in this file are currently EXPERIMENTAL. Use 19# at your own risk. 20 21# TODO(jtattermusch): Consider including some configuration settings from 22# tools/remote_build/include/rbe_remote_execution.bazelrc 23 24build --experimental_docker_verbose 25build --experimental_enable_docker_sandbox 26 27build --spawn_strategy=docker 28build --strategy=Javac=docker 29build --strategy=Closure=docker 30build --genrule_strategy=docker 31 32# Next section is linux-specific RBE configuration 33build --crosstool_top=//third_party/toolchains:rbe_linux_default_toolchain_suite 34build --extra_toolchains=//third_party/toolchains:rbe_linux_default_cc_toolchain 35# Use custom execution platforms defined in third_party/toolchains 36build --extra_execution_platforms=//third_party/toolchains:rbe_linux_default_platform 37build --host_platform=//third_party/toolchains:rbe_linux_default_platform 38build --platforms=//third_party/toolchains:rbe_linux_default_platform 39 40# we assume the default bazel RBE build is on linux, 41# so filter out stuff that should not be built or run there. 42build --test_tag_filters=-no_linux 43build --build_tag_filters=-no_linux 44 45import %workspace%/tools/remote_build/include/test_config_common.bazelrc 46