dashboard: disable nacl builders for the dev.link branch
Updates golang/go#30439
Change-Id: Ic2548709c4a55c2c8b29a4f074bcb3df8292a7c3
Reviewed-on: https://go-review.googlesource.com/c/build/+/200765
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 4579b0f..b99e80b 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -1614,7 +1614,7 @@
HostType: "host-nacl-kube",
buildsRepo: func(repo, branch, goBranch string) bool {
// nacl support is removed in Go 1.14.
- return repo == "go" && !atLeastGo1(goBranch, 14)
+ return repo == "go" && !atLeastGo1(goBranch, 14) && !strings.HasPrefix(goBranch, "dev.")
},
MaxAtOnce: 2,
numTryTestHelpers: 3,
@@ -1625,7 +1625,7 @@
HostType: "host-nacl-kube",
buildsRepo: func(repo, branch, goBranch string) bool {
// nacl support is removed in Go 1.14.
- return repo == "go" && !atLeastGo1(goBranch, 14)
+ return repo == "go" && !atLeastGo1(goBranch, 14) && !strings.HasPrefix(goBranch, "dev.")
},
tryBot: explicitTrySet("go"),
MaxAtOnce: 2,
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index 53649f4..729eae5 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -106,6 +106,30 @@
},
{
repo: "go",
+ branch: "dev.link",
+ want: []string{
+ "freebsd-amd64-12_0",
+ "js-wasm",
+ "linux-386",
+ "linux-amd64",
+ "linux-amd64-race",
+ "misc-compile-other",
+ "misc-compile-darwin",
+ "misc-compile-linuxarm",
+ "misc-compile-solaris",
+ "misc-compile-freebsd",
+ "misc-compile-mips",
+ "misc-compile-netbsd",
+ "misc-compile-openbsd",
+ "misc-compile-plan9",
+ "misc-compile-ppc",
+ "openbsd-amd64-64",
+ "windows-386-2008",
+ "windows-amd64-2016",
+ },
+ },
+ {
+ repo: "go",
branch: "release-branch.go1.12",
want: []string{
"freebsd-amd64-10_3",
@@ -388,9 +412,11 @@
{b("android-386-emu", "go"), isBuilder},
{b("nacl-386", "go"), none},
+ {b("nacl-386@dev.link", "go"), none},
{b("nacl-386@go1.13", "go"), onlyPost},
{b("nacl-386", "net"), none},
{b("nacl-amd64p32", "go"), none},
+ {b("nacl-amd64p32@dev.link", "go"), none},
{b("nacl-amd64p32@go1.13", "go"), both},
{b("nacl-amd64p32", "net"), none},