| 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 |
|
| 15 |
licenses(["notice"]) # Apache v2 |
| 16 |
|
| 17 |
package(default_visibility = ["//visibility:public"]) |
| 18 |
|
| 19 |
load("@bazel_toolchains//rules/exec_properties:exec_properties.bzl", "create_rbe_exec_properties_dict") |
| 20 |
|
| 21 |
alias( |
| 22 |
name = "rbe_windows", |
| 23 |
actual = ":rbe_windows_2019", |
| 24 |
) |
| 25 |
|
| 26 |
# RBE Windows |
| 27 |
platform( |
| 28 |
name = "rbe_windows_2019", |
| 29 |
constraint_values = [ |
| 30 |
"@platforms//cpu:x86_64", |
| 31 |
"@platforms//os:windows", |
| 32 |
], |
| 33 |
exec_properties = create_rbe_exec_properties_dict( |
| 34 |
# See rbe_win2019/Dockerfile for image details |
| 35 |
container_image = "docker://gcr.io/grpc-testing/rbe_windows2019@sha256:41772e8eeb9dd8c8b996bf32d58164d84b2315c8e81e634bbff5a0216b7f52fd", |
| 36 |
os_family = "Windows", |
| 37 |
labels = {"os": "windows_2019", "machine_size": "small"}, |
| 38 |
), |
| 39 |
) |