Skip to content

Commit 4e29d67

Browse files
committed
dashboard: add Android trybots
Updates golang/go#23824 Change-Id: I6386bc267c35856858b3e46d0998fb60e3406e02 Reviewed-on: https://go-review.googlesource.com/c/build/+/172798 Reviewed-by: Elias Naur <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 67073b9 commit 4e29d67

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

dashboard/builders.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,11 +1989,12 @@ func init() {
19891989
},
19901990
})
19911991
addBuilder(BuildConfig{
1992-
Name: "android-amd64-emu",
1993-
HostType: "host-android-amd64-emu",
1994-
Notes: "Android emulator on GCE",
1992+
Name: "android-amd64-emu",
1993+
HostType: "host-android-amd64-emu",
1994+
Notes: "Android emulator on GCE",
1995+
numTryTestHelpers: 3,
19951996
tryBot: func(repo, branch, goBranch string) bool {
1996-
return repo == "mobile" && atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
1997+
return (repo == "go" || repo == "mobile") && atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
19971998
},
19981999
buildsRepo: func(repo, branch, goBranch string) bool {
19992000
switch repo {

dashboard/builders_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func TestTrybots(t *testing.T) {
8383
repo: "go",
8484
branch: "master",
8585
want: []string{
86+
"android-amd64-emu",
8687
"freebsd-amd64-12_0",
8788
"js-wasm",
8889
"linux-386",
@@ -277,7 +278,7 @@ func TestBuilderConfig(t *testing.T) {
277278
{b("[email protected]", "net"), none},
278279

279280
// The mobile repo requires Go 1.13+.
280-
{b("android-amd64-emu", "go"), onlyPost},
281+
{b("android-amd64-emu", "go"), both},
281282
{b("android-amd64-emu", "mobile"), both},
282283
{b("android-amd64-emu", "[email protected]"), none},
283284
{b("android-amd64-emu", "[email protected]"), none},

0 commit comments

Comments
 (0)