dashboard: don't build x/exp and x/mobile on freebsd 10.3, 10.4 and 11.1 builders
Updates golang/go#11811
Change-Id: I76287dc24c7881e6d94df575c2922e2f90919d49
Reviewed-on: https://go-review.googlesource.com/c/build/+/209477
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 5fa339e..d6e7d06 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -1381,7 +1381,8 @@
Name: "freebsd-amd64-10_3",
HostType: "host-freebsd-10_3",
buildsRepo: func(repo, branch, goBranch string) bool {
- return branch == "release-branch.go1.11" || goBranch == "release-branch.go1.12"
+ return (branch == "release-branch.go1.11" || goBranch == "release-branch.go1.12") &&
+ defaultBuildsRepoPolicy(repo, branch, goBranch)
},
tryBot: func(repo, branch, goBranch string) bool {
return branch == "release-branch.go1.11" || branch == "release-branch.go1.12"
@@ -1391,7 +1392,8 @@
Name: "freebsd-amd64-10_4",
HostType: "host-freebsd-10_4",
buildsRepo: func(repo, branch, goBranch string) bool {
- return goBranch == "release-branch.go1.11" || goBranch == "release-branch.go1.12"
+ return (goBranch == "release-branch.go1.11" || goBranch == "release-branch.go1.12") &&
+ defaultBuildsRepoPolicy(repo, branch, goBranch)
},
tryBot: nil,
})
@@ -1400,7 +1402,8 @@
HostType: "host-freebsd-11_1",
tryBot: nil,
buildsRepo: func(repo, branch, goBranch string) bool {
- return goBranch == "release-branch.go1.11" || goBranch == "release-branch.go1.12"
+ return (goBranch == "release-branch.go1.11" || goBranch == "release-branch.go1.12") &&
+ defaultBuildsRepoPolicy(repo, branch, goBranch)
},
shouldRunDistTest: fasterTrybots,
numTryTestHelpers: 4,
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index dd4e8fe..6154edb 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -358,26 +358,42 @@
// supported on FreeBSD 10.x [... and 11.1]"
{b("freebsd-386-10_3", "go"), none},
{b("freebsd-386-10_3", "net"), none},
+ {b("freebsd-386-10_3", "mobile"), none},
{b("freebsd-amd64-10_3", "go"), none},
{b("freebsd-amd64-10_3", "net"), none},
+ {b("freebsd-amd64-10_3", "mobile"), none},
{b("freebsd-amd64-11_1", "go"), none},
{b("freebsd-amd64-11_1", "net"), none},
+ {b("freebsd-amd64-11_1", "mobile"), none},
{b("freebsd-amd64-10_3@go1.12", "go"), both},
{b("freebsd-amd64-10_3@go1.12", "net@1.12"), both},
+ {b("freebsd-amd64-10_3@go1.12", "mobile"), none},
{b("freebsd-amd64-10_3@go1.11", "go"), both},
{b("freebsd-amd64-10_3@go1.11", "net@1.11"), both},
+ {b("freebsd-amd64-10_3@go1.11", "mobile"), none},
+ {b("freebsd-amd64-10_4@go1.11", "go"), isBuilder},
+ {b("freebsd-amd64-10_4@go1.11", "net"), isBuilder},
+ {b("freebsd-amd64-10_4@go1.11", "mobile"), none},
+ {b("freebsd-amd64-10_4@go1.12", "go"), isBuilder},
+ {b("freebsd-amd64-10_4@go1.12", "net"), isBuilder},
+ {b("freebsd-amd64-10_4@go1.12", "mobile"), none},
{b("freebsd-amd64-11_1@go1.13", "go"), none},
{b("freebsd-amd64-11_1@go1.13", "net@1.12"), none},
+ {b("freebsd-amd64-11_1@go1.13", "mobile"), none},
{b("freebsd-amd64-11_1@go1.12", "go"), isBuilder},
{b("freebsd-amd64-11_1@go1.12", "net@1.12"), isBuilder},
+ {b("freebsd-amd64-11_1@go1.12", "mobile"), none},
{b("freebsd-amd64-11_1@go1.11", "go"), isBuilder},
{b("freebsd-amd64-11_1@go1.11", "net@1.11"), isBuilder},
+ {b("freebsd-amd64-11_1@go1.11", "mobile"), none},
// FreeBSD 12.0
{b("freebsd-amd64-12_0", "go"), both},
{b("freebsd-amd64-12_0", "net"), both},
+ {b("freebsd-amd64-12_0", "mobile"), none},
{b("freebsd-386-12_0", "go"), onlyPost},
{b("freebsd-386-12_0", "net"), onlyPost},
+ {b("freebsd-386-12_0", "mobile"), none},
// NetBSD
{b("netbsd-amd64-8_0", "go"), onlyPost},
@@ -477,8 +493,14 @@
{b("darwin-amd64-10_15", "exp"), onlyPost},
// ... but not on most others:
{b("darwin-amd64-10_12", "exp"), none},
+ {b("freebsd-386-10_3@go1.12", "exp"), none},
+ {b("freebsd-386-10_4@go1.12", "exp"), none},
+ {b("freebsd-386-11_1@go1.12", "exp"), none},
{b("freebsd-386-11_2", "exp"), none},
{b("freebsd-386-12_0", "exp"), none},
+ {b("freebsd-amd64-10_3@go1.12", "exp"), none},
+ {b("freebsd-amd64-10_4@go1.12", "exp"), none},
+ {b("freebsd-amd64-11_1@go1.12", "exp"), none},
{b("freebsd-amd64-11_2", "exp"), none},
{b("freebsd-amd64-12_0", "exp"), none},
{b("openbsd-amd64-62", "exp"), none},