diff options
author | Adele Zhou <adelez@google.com> | 2018-07-12 17:50:55 -0700 |
---|---|---|
committer | Adele Zhou <adelez@google.com> | 2018-07-13 10:46:41 -0700 |
commit | 8edd56841e856b96072f02cc33029b21759abf5a (patch) | |
tree | bd68601f2d31f1412873d76378fb5e6f2b4c088d /third_party | |
parent | 7cb6e9dca755ee999dfcce1722f574053eb223a3 (diff) |
Step 3 of multipool RBE configuration.
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/toolchains/BUILD | 10 | ||||
-rw-r--r-- | third_party/toolchains/RBE_USE_MACHINE_TYPE_LARGE | 1 |
2 files changed, 9 insertions, 2 deletions
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. |