dashboard: add FreeBSD 11 builders

Fixes golang/go#19097

Change-Id: I29725ef511f03e10d93561889b1a4a00eb959177
Reviewed-on: https://go-review.googlesource.com/37498
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Brad Fitzpatrick 2017-02-27 16:05:25 +00:00
Родитель dd8f567f4f
Коммит bed69d6045
3 изменённых файлов: 36 добавлений и 5 удалений

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

@ -93,6 +93,14 @@ var Hosts = map[string]*HostConfig{
goBootstrapURLTmpl: "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz",
env: []string{"CC=clang"},
},
"host-freebsd-110": &HostConfig{
VMImage: "freebsd-amd64-110",
Notes: "FreeBSD 11.0; GCE VM is built from script in build/env/freebsd-amd64",
machineType: "n1-highcpu-4",
buildletURLTmpl: "http://storage.googleapis.com/$BUCKET/buildlet.freebsd-amd64", // TODO(bradfitz): why was this http instead of https?
goBootstrapURLTmpl: "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz",
env: []string{"CC=clang"},
},
"host-netbsd-70": &HostConfig{
VMImage: "netbsd-amd64-70",
Notes: "NetBSD 7.0_2016Q4; GCE VM is built from script in build/env/netbsd-amd64",
@ -497,6 +505,7 @@ func (c *BuildConfig) BuildSubrepos() bool {
"darwin-amd64-10_11",
"darwin-386-10_11",
"freebsd-386-gce101", "freebsd-amd64-gce101",
"freebsd-386-110", "freebsd-amd64-110",
"linux-386", "linux-amd64", "linux-amd64-nocgo",
"openbsd-386-60", "openbsd-amd64-60",
"plan9-386",
@ -618,9 +627,8 @@ func (c *BuildConfig) NumTestHelpers(isTry bool) int {
func init() {
addBuilder(BuildConfig{
Name: "freebsd-amd64-gce93",
HostType: "host-freebsd-93-gce",
numTestHelpers: 1,
Name: "freebsd-amd64-gce93",
HostType: "host-freebsd-93-gce",
})
addBuilder(BuildConfig{
Name: "freebsd-amd64-gce101",
@ -628,15 +636,24 @@ func init() {
numTestHelpers: 2,
numTryTestHelpers: 4,
})
addBuilder(BuildConfig{
Name: "freebsd-amd64-110",
HostType: "host-freebsd-110",
})
addBuilder(BuildConfig{
Name: "freebsd-amd64-race",
HostType: "host-freebsd-101-gce",
HostType: "host-freebsd-101-gce", // TODO(bradfitz): switch to FreeBSD 11? test first.
})
addBuilder(BuildConfig{
Name: "freebsd-386-gce101",
HostType: "host-freebsd-101-gce",
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
})
addBuilder(BuildConfig{
Name: "freebsd-386-110",
HostType: "host-freebsd-110",
env: []string{"GOARCH=386", "GOHOSTARCH=386"},
})
addBuilder(BuildConfig{
Name: "linux-386",
HostType: "host-linux-kubestd",

14
env/freebsd-amd64/Makefile поставляемый Normal file
Просмотреть файл

@ -0,0 +1,14 @@
upload-staging:
go install golang.org/x/build/cmd/upload
upload --verbose --file=freebsd-amd64-110.tar.gz --public dev-go-builder-data/freebsd-amd64-110.tar.gz
upload-prod:
go install golang.org/x/build/cmd/upload
upload --verbose --file=freebsd-amd64-110.tar.gz --public go-builder-data/freebsd-amd64-110.tar.gz
create-image-staging:
gcloud compute --project go-dashboard-dev images create freebsd-amd64-110 --source-uri gs://dev-go-builder-data/freebsd-amd64-110.tar.gz
create-image-prod:
gcloud compute --project symbolic-datum-552 images create freebsd-amd64-110 --source-uri gs://go-builder-data/freebsd-amd64-110.tar.gz

2
env/freebsd-amd64/make.bash поставляемый
Просмотреть файл

@ -48,7 +48,7 @@ case $1 in
exit 1
esac
readonly IMAGE=freebsd-amd64-gce${VERSION/\./}.tar.gz
readonly IMAGE=freebsd-amd64-${VERSION/\./}.tar.gz
if [ $(tput cols) -lt 80 ]; then
echo "Running qemu with curses display requires a window 80 columns or larger or expect(1) won't work correctly."