Use the new rbe_ubuntu1604 platform for the remote execution pipeline.
---
platforms:
- ubuntu1604:
+ rbe_ubuntu1604:
test_flags:
- "--test_tag_filters=-slow"
- - "--remote_executor=remotebuildexecution.googleapis.com"
- - "--remote_instance_name=projects/bazel-public"
- - "--remote_timeout=3600"
- - "--spawn_strategy=remote"
- - "--strategy=Javac=remote"
- - "--strategy=Closure=remote"
- - "--genrule_strategy=remote"
- - "--experimental_strict_action_env"
- - "--tls_enabled=true"
- - "--google_default_credentials"
- - "--jobs=75"
- - "--local_test_jobs=75"
- - "--host_javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:jdk8"
- - "--javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:jdk8"
- - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8"
- - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8"
- - "--crosstool_top=@bazel_toolchains//configs/ubuntu16_04_clang/1.0/bazel_0.15.0/default:toolchain"
- - "--action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
- - "--extra_toolchains=@bazel_toolchains//configs/ubuntu16_04_clang/1.0/bazel_0.15.0/cpp:cc-toolchain-clang-x86_64-default"
- - "--extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:rbe_ubuntu1604"
- - "--host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:rbe_ubuntu1604"
- - "--platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.0:rbe_ubuntu1604"
+ # Bazel's tests depend on this feature being disabled. However, because it's
+ # enabled by default in the rbe_ubuntu1604 platform, we cannot simply remove
+ # this flag here, we have to explicitly override it with 0.
+ - "--action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=0"
test_targets:
- "--"
- "//scripts/..."
