From 8edd56841e856b96072f02cc33029b21759abf5a Mon Sep 17 00:00:00 2001 From: Adele Zhou Date: Thu, 12 Jul 2018 17:50:55 -0700 Subject: Step 3 of multipool RBE configuration. --- third_party/toolchains/BUILD | 10 ++++++++-- third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE (limited to 'third_party') diff --git a/third_party/toolchains/BUILD b/third_party/toolchains/BUILD index 1933072ff1..29fc4fdaf3 100644 --- a/third_party/toolchains/BUILD +++ b/third_party/toolchains/BUILD @@ -16,6 +16,8 @@ licenses(["notice"]) # Apache v2 package(default_visibility = ["//visibility:public"]) +exports_files(["RBE_USE_MACHINE_TYPE_LARGE",]) + # Latest RBE Ubuntu16_04 container # Update every time when a new container is released. alias( @@ -39,8 +41,12 @@ platform( value:"docker://gcr.io/cloud-marketplace/google/rbe-ubuntu16-04@sha256:59bf0e191a6b5cc1ab62c2224c810681d1326bad5a27b1d36c9f40113e79da7f" } properties: { - name: "gceMachineType" - value: "n1-highmem-2" + name: "gceMachineType" # Small machines for majority of tests. + value: "n1-standard-1" + } + properties: { + name: "gceMachineType_LARGE" # Large machines for a small set of resource-consuming tests such as combiner_tests under TSAN. + value: "n1-standard-8" } """, ) diff --git a/third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE b/third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE new file mode 100644 index 0000000000..b1120238d7 --- /dev/null +++ b/third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE @@ -0,0 +1 @@ +# This file is a sentinel and is meant to be empty. -- cgit v1.2.3