dashboard: add android subrepo trybots too

Missing from CL 172798

Updates golang/go#23824

Change-Id: I8f1b09ce8f52b555162b344ceddfbfe88e19ad4e
Reviewed-on: https://go-review.googlesource.com/c/build/+/174079
Reviewed-by: Elias Naur <mail@eliasnaur.com>
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Brad Fitzpatrick 2019-04-26 14:04:00 +00:00
Родитель 725da52178
Коммит 6d867c8add
2 изменённых файлов: 13 добавлений и 1 удалений

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

@ -1994,7 +1994,11 @@ func init() {
Notes: "Android emulator on GCE",
numTryTestHelpers: 3,
tryBot: func(repo, branch, goBranch string) bool {
return (repo == "go" || repo == "mobile") && atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
switch repo {
case "go", "mobile", "sys", "net", "tools", "crypto", "sync", "text", "time":
return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
}
return false
},
buildsRepo: func(repo, branch, goBranch string) bool {
switch repo {

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

@ -142,6 +142,7 @@ func TestTrybots(t *testing.T) {
repo: "sys",
branch: "master",
want: []string{
"android-amd64-emu",
"freebsd-386-11_2",
"freebsd-amd64-11_2",
"freebsd-amd64-12_0",
@ -287,6 +288,13 @@ func TestBuilderConfig(t *testing.T) {
{b("android-amd64-emu@go1.12", "mobile"), none},
{b("android-amd64-emu@go1.13", "mobile"), both},
{b("android-amd64-emu", "mobile@1.13"), both},
{b("android-amd64-emu", "crypto"), both},
{b("android-amd64-emu", "net"), both},
{b("android-amd64-emu", "sync"), both},
{b("android-amd64-emu", "sys"), both},
{b("android-amd64-emu", "text"), both},
{b("android-amd64-emu", "time"), both},
{b("android-amd64-emu", "tools"), both},
{b("android-386-emu", "go"), onlyPost},
{b("android-386-emu", "mobile"), onlyPost},