Set the worker pool name constraints for bazel windows rbe toolchains.
PiperOrigin-RevId: 296309660 Change-Id: I5327f5c5005e9959e0058832a5d0cb710475d7fe
This commit is contained in:
parent
116bd07290
commit
264f7fea34
17
third_party/toolchains/preconfig/win/BUILD
vendored
17
third_party/toolchains/preconfig/win/BUILD
vendored
@ -14,8 +14,17 @@ platform(
|
||||
"@bazel_tools//platforms:x86_64",
|
||||
"@bazel_tools//platforms:windows",
|
||||
],
|
||||
exec_properties = {
|
||||
"container-image": "docker://gcr.io/tensorflow-testing/tf-win2019-rbe@sha256:5e91ddd99345204cd8da2e687d312eb64b3916f257023fd1b651b3dabefd9286",
|
||||
"OSFamily": "Windows",
|
||||
},
|
||||
remote_execution_properties = """
|
||||
properties:{
|
||||
name: "container-image"
|
||||
value: "docker://gcr.io/tensorflow-testing/tf-win2019-rbe@sha256:5e91ddd99345204cd8da2e687d312eb64b3916f257023fd1b651b3dabefd9286"
|
||||
}
|
||||
properties:{
|
||||
name: "OSFamily"
|
||||
value: "Windows"
|
||||
}
|
||||
properties:{
|
||||
name: "Pool" value: "win2019"
|
||||
}
|
||||
""",
|
||||
)
|
||||
|
39
third_party/toolchains/preconfig/win_1803/BUILD
vendored
39
third_party/toolchains/preconfig/win_1803/BUILD
vendored
@ -14,10 +14,19 @@ platform(
|
||||
"@bazel_tools//platforms:x86_64",
|
||||
"@bazel_tools//platforms:windows",
|
||||
],
|
||||
exec_properties = {
|
||||
"container-image": "docker://gcr.io/tensorflow-testing/tf-win-rbe@sha256:f109576c7c0c8a1783ff22b666e8923b52dbbe7933f69a1c7a7275202c304a12",
|
||||
"OSFamily": "Windows",
|
||||
},
|
||||
remote_execution_properties = """
|
||||
properties:{
|
||||
name: "container-image"
|
||||
value: "docker://gcr.io/tensorflow-testing/tf-win-rbe@sha256:f109576c7c0c8a1783ff22b666e8923b52dbbe7933f69a1c7a7275202c304a12"
|
||||
}
|
||||
properties:{
|
||||
name: "OSFamily"
|
||||
value: "Windows"
|
||||
}
|
||||
properties:{
|
||||
name: "Pool" value: "default"
|
||||
}
|
||||
""",
|
||||
)
|
||||
|
||||
platform(
|
||||
@ -26,9 +35,21 @@ platform(
|
||||
"@bazel_tools//platforms:x86_64",
|
||||
"@bazel_tools//platforms:windows",
|
||||
],
|
||||
exec_properties = {
|
||||
"container-image": "",
|
||||
"sandbox": "none",
|
||||
"OSFamily": "Windows",
|
||||
},
|
||||
remote_execution_properties = """
|
||||
properties:{
|
||||
name: "container-image"
|
||||
value: ""
|
||||
}
|
||||
properties:{
|
||||
name: "sandbox"
|
||||
value: "none"
|
||||
}
|
||||
properties:{
|
||||
name: "OSFamily"
|
||||
value: "Windows"
|
||||
}
|
||||
properties:{
|
||||
name: "Pool" value: "default"
|
||||
}
|
||||
""",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user