BUILD 1.4 KB

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