Skip to content

Commit 05d9e9b

Browse files
committed
dashboard: add FreeBSD 11.2 and 10.4 builders
Not yet the defaults or trybots until we see they're working regularly for a few days and compare timings, etc. Updates golang/go#25289 Change-Id: I4baed066b5f6d9f01e5454b716cacda4986620d0 Reviewed-on: https://go-review.googlesource.com/138258 Reviewed-by: Yuval Pavel Zholkover <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 9d0196f commit 05d9e9b

File tree

3 files changed

+57
-5
lines changed

3 files changed

+57
-5
lines changed

dashboard/builders.go

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ var Hosts = map[string]*HostConfig{
162162
env: []string{"CC=clang"},
163163
SSHUsername: "gopher",
164164
},
165+
"host-freebsd-10_4": &HostConfig{
166+
VMImage: "freebsd-amd64-104",
167+
Notes: "FreeBSD 10.4; GCE VM is built from script in build/env/freebsd-amd64",
168+
machineType: "n1-highcpu-4",
169+
buildletURLTmpl: "https://storage.googleapis.com/$BUCKET/buildlet.freebsd-amd64",
170+
goBootstrapURLTmpl: "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz",
171+
SSHUsername: "gopher",
172+
},
165173
"host-freebsd-11_1": &HostConfig{
166174
VMImage: "freebsd-amd64-111-b",
167175
Notes: "FreeBSD 11.1; GCE VM is built from script in build/env/freebsd-amd64",
@@ -171,6 +179,14 @@ var Hosts = map[string]*HostConfig{
171179
env: []string{"CC=clang"},
172180
SSHUsername: "gopher",
173181
},
182+
"host-freebsd-11_2": &HostConfig{
183+
VMImage: "freebsd-amd64-112",
184+
Notes: "FreeBSD 11.2; GCE VM is built from script in build/env/freebsd-amd64",
185+
machineType: "n1-highcpu-4",
186+
buildletURLTmpl: "https://storage.googleapis.com/$BUCKET/buildlet.freebsd-amd64",
187+
goBootstrapURLTmpl: "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz",
188+
SSHUsername: "gopher",
189+
},
174190
"host-netbsd-amd64-8_0": &HostConfig{
175191
VMImage: "netbsd-amd64-8-0-2018q1",
176192
Notes: "NetBSD 8.0RC1; GCE VM is built from script in build/env/netbsd-amd64",
@@ -760,14 +776,16 @@ func (c *BuildConfig) BuildSubrepos() bool {
760776
if !c.SplitMakeRun() {
761777
return false
762778
}
763-
// TODO(adg,bradfitz): expand this as required
779+
// TODO(bradfitz,dmitshur): move this into BuildConfig bools, rather than this Name switch.
764780
switch c.Name {
765781
case "darwin-amd64-10_11",
766782
"darwin-386-10_11",
767783
// TODO: add darwin-amd64-10_12 when we have a build scheduler
768784
"freebsd-amd64-93",
769785
"freebsd-386-10_3", "freebsd-amd64-10_3",
770786
"freebsd-386-11_1", "freebsd-amd64-11_1",
787+
"freebsd-386-10_4", "freebsd-amd64-10_4",
788+
"freebsd-386-11_2", "freebsd-amd64-11_2",
771789
"linux-386", "linux-amd64", "linux-amd64-nocgo",
772790
"linux-s390x-ibm",
773791
"openbsd-386-60", "openbsd-amd64-60",
@@ -928,6 +946,11 @@ func init() {
928946
HostType: "host-freebsd-10_3",
929947
MaxAtOnce: 2,
930948
})
949+
addBuilder(BuildConfig{
950+
Name: "freebsd-amd64-10_4",
951+
HostType: "host-freebsd-10_4",
952+
MaxAtOnce: 2,
953+
})
931954
addBuilder(BuildConfig{
932955
Name: "freebsd-amd64-11_1",
933956
HostType: "host-freebsd-11_1",
@@ -936,6 +959,14 @@ func init() {
936959
numTryTestHelpers: 4,
937960
MaxAtOnce: 2,
938961
})
962+
addBuilder(BuildConfig{
963+
Name: "freebsd-amd64-11_2",
964+
HostType: "host-freebsd-11_2",
965+
TryBot: false, // not yet. once we see it's passing regularly.
966+
ShouldRunDistTest: fasterTrybots,
967+
numTryTestHelpers: 4,
968+
MaxAtOnce: 2,
969+
})
939970
addBuilder(BuildConfig{
940971
Name: "freebsd-amd64-race",
941972
HostType: "host-freebsd-11_1",
@@ -947,13 +978,26 @@ func init() {
947978
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
948979
MaxAtOnce: 2,
949980
})
981+
addBuilder(BuildConfig{
982+
Name: "freebsd-386-10_4",
983+
HostType: "host-freebsd-10_4",
984+
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
985+
MaxAtOnce: 2,
986+
})
950987
addBuilder(BuildConfig{
951988
Name: "freebsd-386-11_1",
952989
HostType: "host-freebsd-11_1",
953990
ShouldRunDistTest: noTestDir,
954991
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
955992
MaxAtOnce: 2,
956993
})
994+
addBuilder(BuildConfig{
995+
Name: "freebsd-386-11_2",
996+
HostType: "host-freebsd-11_2",
997+
ShouldRunDistTest: noTestDir,
998+
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
999+
MaxAtOnce: 2,
1000+
})
9571001
addBuilder(BuildConfig{
9581002
Name: "linux-386",
9591003
HostType: "host-linux-jessie",

env/freebsd-amd64/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
iso
2+
config.iso
3+
*.raw

env/freebsd-amd64/Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1+
# TODO: move all this into the xb command and use it everywhere.
2+
# For now it's expected that this is hand-tweaked per version bump.
3+
14
upload-staging:
25
go install golang.org/x/build/cmd/upload
3-
upload --verbose --file=freebsd-amd64-110.tar.gz --public dev-go-builder-data/freebsd-amd64-110.tar.gz
6+
upload --verbose --file=freebsd-amd64-112.tar.gz --public dev-go-builder-data/freebsd-amd64-112.tar.gz
47

58
upload-prod:
69
go install golang.org/x/build/cmd/upload
7-
upload --verbose --file=freebsd-amd64-110.tar.gz --public go-builder-data/freebsd-amd64-110.tar.gz
10+
upload --verbose --file=freebsd-amd64-112.tar.gz --public go-builder-data/freebsd-amd64-112.tar.gz
811

912
create-image-staging:
10-
gcloud compute --project go-dashboard-dev images create freebsd-amd64-110 --source-uri gs://dev-go-builder-data/freebsd-amd64-110.tar.gz
13+
gcloud compute --project go-dashboard-dev images create freebsd-amd64-112 --source-uri gs://dev-go-builder-data/freebsd-amd64-112.tar.gz
1114

1215
create-image-prod:
13-
gcloud compute --project symbolic-datum-552 images create freebsd-amd64-110 --source-uri gs://go-builder-data/freebsd-amd64-110.tar.gz
16+
gcloud compute --project symbolic-datum-552 images create freebsd-amd64-112 --source-uri gs://go-builder-data/freebsd-amd64-112.tar.gz
1417

18+
delete-image-prod:
19+
gcloud compute --project symbolic-datum-552 images delete freebsd-amd64-112

0 commit comments

Comments
 (0)