1# Copyright 2017 gRPC authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15licenses(["notice"]) # Apache v2 16 17package(default_visibility = ["//visibility:public"]) 18 19exports_files(["RBE_USE_MACHINE_TYPE_LARGE",]) 20 21# Latest RBE Ubuntu16_04 container 22# Update every time when a new container is released. 23alias( 24 name = "rbe_ubuntu1604", 25 actual = ":rbe_ubuntu1604_r328903", 26) 27 28# RBE Ubuntu16_04 r328903 29platform( 30 name = "rbe_ubuntu1604_r328903", 31 constraint_values = [ 32 "@bazel_tools//platforms:x86_64", 33 "@bazel_tools//platforms:linux", 34 "@bazel_tools//tools/cpp:clang", 35 "@com_github_bazelbuild_bazeltoolchains//constraints:xenial", 36 "@com_github_bazelbuild_bazeltoolchains//constraints/sanitizers:support_msan", 37 ], 38 remote_execution_properties = """ 39 properties: { 40 name: "container-image" 41 value:"docker://gcr.io/cloud-marketplace/google/rbe-ubuntu16-04@sha256:59bf0e191a6b5cc1ab62c2224c810681d1326bad5a27b1d36c9f40113e79da7f" 42 } 43 properties: { 44 name: "gceMachineType" # Small machines for majority of tests. 45 value: "n1-highmem-2" 46 } 47 properties: { 48 name: "gceMachineType_LARGE" # Large machines for a small set of resource-consuming tests such as combiner_tests under TSAN. 49 value: "n1-standard-8" 50 } 51 """, 52) 53