Skip to content

Commit 2446fb3

Browse files
committed
dashboard: convert plan9-arm, plan9-amd64-9front, nacl-arm to buildlets
Updates golang/go#21191 Change-Id: I577dad51d490d7e281ccde9fa7d82bb1bee95bd9 Reviewed-on: https://go-review.googlesource.com/53417 Reviewed-by: David du Colombier <0intro@gmail.com>
1 parent a7e875c commit 2446fb3

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

dashboard/builders.go

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ var Hosts = map[string]*HostConfig{
5050
Notes: "for localhost development of buildlets/gomote/coordinator only",
5151
SSHUsername: os.Getenv("USER"),
5252
},
53+
"host-nacl-arm-davecheney": &HostConfig{
54+
IsReverse: true,
55+
ExpectNum: 1,
56+
Notes: "Raspberry Pi 3",
57+
OwnerGithub: "davecheney",
58+
},
5359
"host-nacl-kube": &HostConfig{
5460
Notes: "Kubernetes container on GKE.",
5561
KubeImage: "linux-x86-nacl:latest",
@@ -159,6 +165,17 @@ var Hosts = map[string]*HostConfig{
159165
ReverseAliases: []string{"freebsd-arm-paulzhol"},
160166
OwnerGithub: "paulzhol",
161167
},
168+
"host-plan9-arm-0intro": &HostConfig{
169+
IsReverse: true,
170+
ExpectNum: 1,
171+
Notes: "Raspberry Pi 3 Model B, Plan 9 from Bell Labs",
172+
OwnerGithub: "0intro",
173+
},
174+
"host-plan9-amd64-0intro": &HostConfig{
175+
IsReverse: true,
176+
ExpectNum: 1,
177+
OwnerGithub: "0intro",
178+
},
162179
"host-plan9-386-gce": &HostConfig{
163180
VMImage: "plan9-386-v5",
164181
Notes: "Plan 9 from 0intro; GCE VM is built from script in build/env/plan9-386",
@@ -1225,6 +1242,21 @@ func init() {
12251242
"CGO_ENABLED=1",
12261243
},
12271244
})
1245+
addBuilder(BuildConfig{
1246+
Name: "plan9-arm",
1247+
HostType: "host-plan9-arm-0intro",
1248+
SkipSnapshot: true,
1249+
})
1250+
addBuilder(BuildConfig{
1251+
Name: "nacl-arm",
1252+
HostType: "host-nacl-arm-davecheney",
1253+
SkipSnapshot: true,
1254+
})
1255+
addBuilder(BuildConfig{
1256+
Name: "plan9-amd64-9front",
1257+
HostType: "host-plan9-amd64-0intro",
1258+
SkipSnapshot: true,
1259+
})
12281260

12291261
}
12301262

@@ -1238,7 +1270,7 @@ func addBuilder(c BuildConfig) {
12381270
panic(fmt.Sprintf("missing HostType for builder %q", c.Name))
12391271
}
12401272
if _, dup := Builders[c.Name]; dup {
1241-
panic("dup name")
1273+
panic("dup name " + c.Name)
12421274
}
12431275
if _, ok := Hosts[c.HostType]; !ok {
12441276
panic(fmt.Sprintf("undefined HostType %q for builder %q", c.HostType, c.Name))

0 commit comments

Comments
 (0)