mirror of https://github.com/grpc/grpc.git
* Remove the toolchains //third_party/toolchains:local and //third_party/toolchains:local_large. * Remove the platforms :rbe_ubuntu1604, :rbe_ubuntu1604_large, :local and :local_large. * No longer inherit from @rbe_default//config:platform but instead use it directly. It is now the only non-windows platform. * When creating @rbe_default//config:platform directly with rbe_autoconfig, set dockerAddCapabilities and dockerPrivileged directly in the exec_properties field. No need to set dockerNetwork to "off" and dockerSiblingContainers to false since these are the defaults. * Also set gceMachineType = "n1-highmem-2" on the default platform. This value can be overridden by specific targets that want to use LARGE_MACHINE. * Use create_exec_properties_dict where appropriate. * Use custom_exec_properties to define LARGE_MACHINE. I wasn't able to test thoroughly that this PR does not break any existing targets. I was not able to run anything on windows/mac and I also don't have access to gRPC's RBE setup.pull/20862/head
parent
28802d425a
commit
c97ce9057b
8 changed files with 38 additions and 96 deletions
@ -1,31 +0,0 @@ |
|||||||
# Copyright 2018 gRPC authors. |
|
||||||
# |
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
|
||||||
# you may not use this file except in compliance with the License. |
|
||||||
# You may obtain a copy of the License at |
|
||||||
# |
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0 |
|
||||||
# |
|
||||||
# Unless required by applicable law or agreed to in writing, software |
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, |
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
||||||
# See the License for the specific language governing permissions and |
|
||||||
# limitations under the License. |
|
||||||
|
|
||||||
licenses(["notice"]) # Apache v2 |
|
||||||
|
|
||||||
package(default_visibility = ["//visibility:public"]) |
|
||||||
|
|
||||||
constraint_setting(name = "machine_size") |
|
||||||
|
|
||||||
constraint_value( |
|
||||||
name = "large", |
|
||||||
constraint_setting = ":machine_size", |
|
||||||
) |
|
||||||
|
|
||||||
constraint_value( |
|
||||||
name = "standard", |
|
||||||
constraint_setting = ":machine_size", |
|
||||||
) |
|
||||||
|
|
||||||
# Add other constraint values as needed (tiny, huge, etc.) in the future. |
|
Loading…
Reference in new issue