|
|
|
# Copyright 2017 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"])
|
|
|
|
|
|
|
|
load("@bazel_toolchains//rules/exec_properties:exec_properties.bzl", "create_rbe_exec_properties_dict")
|
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "rbe_windows",
|
|
|
|
actual = ":rbe_windows_2019",
|
|
|
|
)
|
|
|
|
|
|
|
|
# RBE Windows
|
|
|
|
platform(
|
|
|
|
name = "rbe_windows_2019",
|
|
|
|
constraint_values = [
|
|
|
|
"@platforms//cpu:x86_64",
|
|
|
|
"@platforms//os:windows",
|
|
|
|
],
|
|
|
|
exec_properties = create_rbe_exec_properties_dict(
|
|
|
|
# See rbe_win2019/Dockerfile for image details
|
|
|
|
container_image = "docker://gcr.io/grpc-testing/rbe_windows2019@sha256:41772e8eeb9dd8c8b996bf32d58164d84b2315c8e81e634bbff5a0216b7f52fd",
|
|
|
|
os_family = "Windows",
|
|
|
|
labels = {"os": "windows_2019", "machine_size": "small"},
|
|
|
|
),
|
|
|
|
)
|