dashboard: add new linux-amd64-wsl builder
Updates golang/go#17365
Change-Id: I90b9c1c8f82ae9164deacea36ff5dafd008eef03
Reviewed-on: https://go-review.googlesource.com/c/build/+/272266
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 97035d5..c46f644 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -646,6 +646,13 @@
env: []string{"GOROOT_BOOTSTRAP=/go1.4"},
SSHUsername: "root",
},
+ "host-linux-amd64-wsl": &HostConfig{
+ Notes: "Windows 10 WSL2 Ubuntu",
+ OwnerGithub: "mengzhuo",
+ IsReverse: true,
+ ExpectNum: 1,
+ env: []string{"GOROOT_BOOTSTRAP=/usr/lib/go"},
+ },
}
// CrossCompileConfig describes how to cross-compile a build on a
@@ -2601,6 +2608,13 @@
return atLeastGo1(branch, 12) && atLeastGo1(goBranch, 12) && buildRepoByDefault(repo)
},
})
+ addBuilder(BuildConfig{
+ Name: "linux-amd64-wsl",
+ HostType: "host-linux-amd64-wsl",
+ Notes: "Windows 10 WSL2 Ubuntu",
+ FlakyNet: true,
+ SkipSnapshot: true, // The builder has a slow uplink bandwidth.
+ })
}
// addBuilder adds c to the Builders map after doing some sanity