aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/gen_tasks.go
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r--infra/bots/gen_tasks.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index e9b1d207a0..74b26c2c75 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -380,6 +380,10 @@ func defaultSwarmDimensions(parts map[string]string) []string {
// ChOps-owned machines have Windows 10 v1709, but a slightly different version than Skolo.
d["os"] = "Windows-10-16299.309"
}
+ if d["os"] == DEFAULT_OS_WIN {
+ // TODO(dogben): Temporarily add image dimension during upgrade.
+ d["image"] = "windows-server-2016-dc-v20171114"
+ }
} else {
d["os"] = DEFAULT_OS_DEBIAN
}