1licenses(["restricted"])
2
3package(default_visibility = ["//visibility:public"])
4
5load("//third_party/toolchains/preconfig/generate:containers.bzl", "container_digests")
6
7# Remote build platforms.
8# Each of the platform rules here provide a platform definition that is bound to a docker image.
9# The result of the skylark configuration is checked into
10# //tensorflow/third_party/toolchains/preconfig.
11
12# Built with //tensorflow/tools/ci_build/Dockerfile.rbe.cpu.
13platform(
14    name = "rbe_ubuntu16.04",
15    constraint_values = [
16        "@bazel_tools//platforms:x86_64",
17        "@bazel_tools//platforms:linux",
18    ],
19    exec_properties = {
20        "container-image": "docker://gcr.io/tensorflow-testing/nosla-ubuntu16.04@%s" % container_digests["ubuntu16.04"],
21        "Pool": "default",
22    },
23)
24
25# Built with //tensorflow/tools/ci_build/Dockerfile.rbe.cpu-centos6.
26platform(
27    name = "rbe_centos6",
28    constraint_values = [
29        "@bazel_tools//platforms:x86_64",
30        "@bazel_tools//platforms:linux",
31    ],
32    exec_properties = {
33        "container-image": "docker://gcr.io/tensorflow-testing/nosla-centos6@%s" % container_digests["centos6"],
34        "Pool": "default",
35    },
36)
37
38# Built with //tensorflow/tools/ci_build/Dockerfile.rbe.cuda10.0-cudnn7-ubuntu14.04.
39platform(
40    name = "rbe_cuda10.0-cudnn7-ubuntu14.04",
41    constraint_values = [
42        "@bazel_tools//platforms:x86_64",
43        "@bazel_tools//platforms:linux",
44    ],
45    exec_properties = {
46        "container-image": "docker://gcr.io/tensorflow-testing/nosla-cuda10.0-cudnn7-ubuntu14.04@%s" % container_digests["cuda10.0-cudnn7-ubuntu14.04"],
47        "Pool": "default",
48    },
49)
50
51# Built with //tensorflow/tools/ci_build/Dockerfile.rbe.cuda10.0-cudnn7-centos6.
52platform(
53    name = "rbe_cuda10.0-cudnn7-centos6",
54    constraint_values = [
55        "@bazel_tools//platforms:x86_64",
56        "@bazel_tools//platforms:linux",
57    ],
58    exec_properties = {
59        "container-image": "docker://gcr.io/tensorflow-testing/nosla-cuda10.0-cudnn7-centos6@%s" % container_digests["cuda10.0-cudnn7-centos6"],
60        "Pool": "default",
61    },
62)
63
64# Built with //tensorflow/tools/ci_build/Dockerfile.rbe.ubuntu16.04-manylinux2010.
65platform(
66    name = "rbe_ubuntu16.04-manylinux2010",
67    constraint_values = [
68        "@bazel_tools//platforms:x86_64",
69        "@bazel_tools//platforms:linux",
70    ],
71    exec_properties = {
72        "container-image": "docker://gcr.io/tensorflow-testing/nosla-ubuntu16.04-manylinux2010@%s" % container_digests["ubuntu16.04-manylinux2010"],
73        "Pool": "default",
74    },
75)
76