Skip to content

Commit 1729064

Browse files
mdempskygopherbot
authored andcommitted
dashboard: add linux-amd64-newinliner builder and trybot
This CL adds a builder and trybot for GOEXPERIMENT=newinliner, which is currently under development. Updates golang/go#61502. Fixes golang/go#61883. Change-Id: Iefb37ca7c9feca30bb2783170f1a8cdfa9fd02af Reviewed-on: https://go-review.googlesource.com/c/build/+/517595 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Matthew Dempsky <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Matthew Dempsky <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
1 parent 27b08b3 commit 1729064

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

dashboard/builders.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@ func init() {
17701770
})
17711771
addBuilder(BuildConfig{
17721772
Name: "linux-amd64-nounified",
1773-
HostType: "host-linux-amd64-buster",
1773+
HostType: "host-linux-amd64-bullseye",
17741774
Notes: "builder with GOEXPERIMENT=nounified, see go.dev/issue/51397 and go.dev/issue/57977",
17751775
tryBot: func(repo, branch, goBranch string) bool {
17761776
return (repo == "go" || repo == "tools") && goBranch == "release-branch.go1.20"
@@ -1785,6 +1785,24 @@ func init() {
17851785
numTestHelpers: 1,
17861786
numTryTestHelpers: 4,
17871787
})
1788+
addBuilder(BuildConfig{
1789+
Name: "linux-amd64-newinliner",
1790+
HostType: "host-linux-amd64-bullseye",
1791+
Notes: "builder with GOEXPERIMENT=newinliner, see go.dev/issue/61883",
1792+
tryBot: func(repo, branch, goBranch string) bool {
1793+
return repo == "go" && goBranch == "master"
1794+
},
1795+
buildsRepo: func(repo, branch, goBranch string) bool {
1796+
return repo == "go" && goBranch == "master"
1797+
},
1798+
env: []string{
1799+
"GO_DISABLE_OUTBOUND_NETWORK=1",
1800+
"GOEXPERIMENT=newinliner",
1801+
},
1802+
GoDeps: []string{
1803+
"fbf9076ee8c8f665f1e8bba08fdc473cc7a2d690", // CL 511555, which added GOEXPERIMENT=newinliner
1804+
},
1805+
})
17881806
addBuilder(BuildConfig{
17891807
Name: "linux-amd64-goamd64v3",
17901808
HostType: "host-linux-amd64-bullseye",

dashboard/builders_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func TestTrybots(t *testing.T) {
9696
"linux-386",
9797
"linux-amd64",
9898
"linux-amd64-boringcrypto",
99+
"linux-amd64-newinliner",
99100
"linux-amd64-race",
100101
"linux-arm64",
101102
"openbsd-amd64-72",
@@ -847,6 +848,10 @@ func TestBuilderConfig(t *testing.T) {
847848
{b("[email protected]", "go"), both},
848849
{b("[email protected]", "tools"), both},
849850
{b("[email protected]", "net"), none},
851+
852+
{b("linux-amd64-newinliner", "go"), both},
853+
{b("linux-amd64-newinliner", "tools"), none},
854+
{b("[email protected]", "go"), none},
850855
}
851856
for _, tt := range tests {
852857
t.Run(tt.br.testName, func(t *testing.T) {

0 commit comments

Comments
 (0)