dashboard: stop testing x/build on even more builders

Follow up to CL 210378 after looking at:
https://build.golang.org/?repo=golang.org%2fx%2fbuild

Updates golang/go#30640

Change-Id: I81505a9ca2985ffa6e75922665b14ef4de2af860
Reviewed-on: https://go-review.googlesource.com/c/build/+/211100
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Brad Fitzpatrick 2019-12-12 17:43:59 +00:00
Родитель 9ec77662a0
Коммит f6d512da84
2 изменённых файлов: 16 добавлений и 3 удалений

Просмотреть файл

@ -1583,6 +1583,8 @@ func init() {
return false return false
case "mobile": case "mobile":
return false return false
case "build":
return false
} }
return true return true
}, },
@ -1720,6 +1722,9 @@ func init() {
HostType: "host-linux-stretch-morecpu", HostType: "host-linux-stretch-morecpu",
Notes: "Debian Stretch with go test -short=false; to get 32-bit coverage", Notes: "Debian Stretch with go test -short=false; to get 32-bit coverage",
buildsRepo: func(repo, branch, goBranch string) bool { buildsRepo: func(repo, branch, goBranch string) bool {
if repo == "build" {
return false
}
return repo == "go" || (branch == "master" && goBranch == "master") return repo == "go" || (branch == "master" && goBranch == "master")
}, },
needsGoProxy: true, // for cmd/go module tests needsGoProxy: true, // for cmd/go module tests
@ -1821,7 +1826,7 @@ func init() {
switch repo { switch repo {
case "go": case "go":
return true return true
case "mobile", "exp", "benchmarks", "debug", "perf", "talks", "tools", "tour", "website": case "build", "mobile", "exp", "benchmarks", "debug", "perf", "talks", "tools", "tour", "website":
return false return false
default: default:
return branch == "master" && goBranch == "master" return branch == "master" && goBranch == "master"
@ -2171,7 +2176,7 @@ func init() {
Notes: "Android emulator on GCE", Notes: "Android emulator on GCE",
buildsRepo: func(repo, branch, goBranch string) bool { buildsRepo: func(repo, branch, goBranch string) bool {
switch repo { switch repo {
case "blog", "talks", "review", "tour", "website": case "build", "blog", "talks", "review", "tour", "website":
return false return false
} }
return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13) return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
@ -2198,7 +2203,7 @@ func init() {
}, },
buildsRepo: func(repo, branch, goBranch string) bool { buildsRepo: func(repo, branch, goBranch string) bool {
switch repo { switch repo {
case "blog", "talks", "review", "tour", "website": case "build", "blog", "talks", "review", "tour", "website":
return false return false
} }
return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13) return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)

Просмотреть файл

@ -524,6 +524,14 @@ func TestBuilderConfig(t *testing.T) {
{b("linux-amd64-fedora", "build"), none}, {b("linux-amd64-fedora", "build"), none},
{b("linux-amd64-clang", "build"), none}, {b("linux-amd64-clang", "build"), none},
{b("linux-amd64-sid", "build"), none}, {b("linux-amd64-sid", "build"), none},
{b("linux-amd64-nocgo", "build"), none},
{b("linux-386-longtest", "build"), none},
{b("freebsd-386-10_3", "build"), none},
{b("freebsd-386-10_4", "build"), none},
{b("freebsd-386-11_1", "build"), none},
{b("js-wasm", "build"), none},
{b("android-386-emu", "build"), none},
{b("android-amd64-emu", "build"), none},
// Only use latest macOS for subrepos, and only amd64: // Only use latest macOS for subrepos, and only amd64:
{b("darwin-amd64-10_12", "net"), onlyPost}, {b("darwin-amd64-10_12", "net"), onlyPost},