dashboard: disable tools repo trybot for unified IR builder

x/tools has a bunch of tests that don't currently work with
GOEXPERIMENT=unified. This is a known issue that's going to take some
time to fix, so let's just disable the trybot for now to prevent
blocking other developers.

Updates golang/go#52150.

Change-Id: I3fa3ee406a422a4b01cf1ce7753a27be83516f10
Reviewed-on: https://go-review.googlesource.com/c/build/+/398874
Trust: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Matthew Dempsky 2022-04-05 18:28:28 -07:00
Родитель 5aee8ef175
Коммит 3e24bb73ed
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -1758,7 +1758,8 @@ func init() {
HostType: "host-linux-buster",
Notes: "builder with GOEXPERIMENT=unified, see golang.org/issue/46786",
tryBot: func(repo, branch, goBranch string) bool {
return (repo == "go" || repo == "tools") && (goBranch == "master" || goBranch == "dev.typeparams")
// TODO(go.dev/issue/52150): Restore testing against tools repo.
return (repo == "go" /*|| repo == "tools"*/) && (goBranch == "master" || goBranch == "dev.typeparams")
},
buildsRepo: func(repo, branch, goBranch string) bool {
return (repo == "go" || repo == "tools") && (goBranch == "master" || goBranch == "dev.typeparams")

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

@ -671,10 +671,10 @@ func TestBuilderConfig(t *testing.T) {
{b("linux-amd64-staticlockranking", "net"), none},
{b("linux-amd64-unified", "go"), both},
{b("linux-amd64-unified", "tools"), both},
{b("linux-amd64-unified", "tools"), onlyPost},
{b("linux-amd64-unified", "net"), none},
{b("linux-amd64-unified@dev.typeparams", "go"), both},
{b("linux-amd64-unified@dev.typeparams", "tools"), both},
{b("linux-amd64-unified@dev.typeparams", "tools"), onlyPost},
{b("linux-amd64-unified@dev.typeparams", "net"), none},
{b("linux-amd64-nounified", "go"), both},