Граф коммитов

69 Коммитов

Автор SHA1 Сообщение Дата
David Crawshaw 24c71cedec dashboard: rename darwin-amd64 to darwin-amd64_10_10
Change-Id: Iae0a264d5071462ea877cb12d270f931fcb0ce9e
Reviewed-on: https://go-review.googlesource.com/9405
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-28 16:22:27 +00:00
David Crawshaw 66c36dd35f cmd/coordinator: run builds on reverse buildlets
Also introduces more dev mode manual testing machinary. It is now
possible to start a coordinator and buildlet on a local machine and
hit localhost:8119/dosomework/buildername to rebuild the latest
revision from build.golang.org.

No support for VMs on reverse buildlets yet. That will have to wait
for some future work.

Change-Id: I590a9bc1779add030bde8dbf496eb6814ef57126
Reviewed-on: https://go-review.googlesource.com/9248
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-28 13:43:50 +00:00
Brad Fitzpatrick 38c2c75925 dashboard: switch to -v2 of the nacl image
gcloud/GCE had a bug where they won't let me delete the old image, so
we need a new name. They have an open bug about it, but for now we
just work around it.

New Dockerfile is in:
https://go-review.googlesource.com/#/c/7970/

Motivation is this CL:
https://go-review.googlesource.com/#/c/1755/

Change-Id: I55db0cbc13c08863958cb2a63bd07d673b36212e
Reviewed-on: https://go-review.googlesource.com/8061
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-03-25 01:55:23 +00:00
Brad Fitzpatrick 0c0bd36a74 cmd/buildlet/stage0, env/windows: wait for network, don't expire passwords
Also, I rebuilt the Windows image with the 30GB base image. I named it
-v2 during manual testing with gomote, and I'm keeping it like that
now, so update dashboard/builders.go too.

Fixes golang/go#10071

Change-Id: I30029310cbf61fb21ef80063f9822cb90ce843c0
Reviewed-on: https://go-review.googlesource.com/7914
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-22 19:39:23 +00:00
Brad Fitzpatrick 1c6d91617f coordinator: rate-limit GCE calls, put cap on number of VMs at once
Also, make Windows use regular disks for now, since its image is so
large (100 GB) and we only have 2TB of SSD quota.

This is all very conservative and paranoid for now until I figure out
what part of the coordinator was misbehaving.

Change-Id: Icead5c07cf706c2cfc4d1dd66a108649429018ac
Reviewed-on: https://go-review.googlesource.com/7910
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-22 03:37:54 +00:00
Brad Fitzpatrick dfe828688e dashboard: add linux-arm-qemu builder (disabled) and adjust plan9 builder
Change-Id: If2b4074f9bc1b44e97897096eb173b42c8323250
Reviewed-on: https://go-review.googlesource.com/6411
Reviewed-by: Salman Aljammaz <salman.aljammaz@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-03-01 18:23:11 +00:00
Brad Fitzpatrick 83455d10f2 dashboard, cmd/coordinator: remove code for Docker-based builds
Everything is in VMs now.

Change-Id: I2fc28207eb84a7971236efa39a4684ec682d315a
Reviewed-on: https://go-review.googlesource.com/5360
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-20 05:08:27 +00:00
Brad Fitzpatrick 0e84fc7a92 env: update nacl builders to be VM-based
Be lazy and use sid as a base, instead of trusty.

This replaces my earlier failed attempt: https://golang.org/cl/4960

Fixes golang/go#9879

Change-Id: Ia0a39c99747844b6e34bf7561c01dce49fa3b226
Reviewed-on: https://go-review.googlesource.com/5191
Reviewed-by: Russ Cox <rsc@golang.org>
2015-02-18 22:34:01 +00:00
Brad Fitzpatrick f0728e33ea env: update linux-x86-sid to be a VM
Fixes #9873

Change-Id: I08c501ef52ebde4cdbc48fe45a5342488000c433
Reviewed-on: https://go-review.googlesource.com/4874
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-18 21:53:43 +00:00
Brad Fitzpatrick 4d7595ca91 env: set GOHOSTARCH=386 on linux-386-clang
Otherwise it unnecessarily does:

"Building compilers and Go bootstrap tool for host, linux/amd64"

Change-Id: I051e4fe42030fbf5452372a0a6a42391383d53e3
Reviewed-on: https://go-review.googlesource.com/4871
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-02-14 00:37:21 +00:00
Brad Fitzpatrick a0a155e9a9 env: convert linux-x86-clang to be VM-based
Change-Id: I583d751652dec9176169b4d4705f3813506017e3
Reviewed-on: https://go-review.googlesource.com/4790
Reviewed-by: Minux Ma <minux@golang.org>
2015-02-14 00:20:13 +00:00
Brad Fitzpatrick cc587d4521 build: use buildlet on Windows
Also adds "gomote rmall" command.

Fixes golang/go#8640
Fixes golang/go#9799

Change-Id: I41b62b16df5e855e1367a9cc1c370bb1f928c242
Reviewed-on: https://go-review.googlesource.com/4132
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2015-02-07 21:12:30 +00:00
Andrew Gerrand f83f3e4171 cmd/release: add new program to build releases
The release command will replace misc/makerelease from the main repo.
The contents of makerelease make their way into this program.

Also add GorootFinal and MakeScript methods to dashboard.BuildConfig.

Change-Id: Id20f3f7a85a21f040d8cf47e438d299d57360556
Reviewed-on: https://go-review.googlesource.com/3693
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-03 12:00:31 +00:00
Brad Fitzpatrick 50ba0cb8f6 build: convert most Linux builders to be VM-based
We still use Dockerfiles to describe them, but then a new tool
(docker2boot) converts them into VM images suitable for booting on
GCE, running the buildlet like all the other operating systems. Things
are easier if everything acts the same way.

Note that since we're no longer moving around Docker images, the image
size and the layer accumulation cruft no longer matters. We can now
have Dockerfile lines like "RUN rm -rf /usr/share/doc" and it actually
results in a smaller VM image, since we just "docker export" the files
out of it to create the VM image.

This doesn't yet convert the clang, sid, or nacl builders. The
coordinator still runs those under Docker directly. A future change
will convert those to VM images as well.

Change-Id: Iedb136ae3daf888c955eb843bdcc9a638d08f5e9
Reviewed-on: https://go-review.googlesource.com/3341
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-29 11:02:16 +00:00
Bill Thiede 222a9c067a dashboard, env: add FreeBSD 9.3 support.
Differences from 10.1 support:
- Uses gcc in base image, 10.1 uses clang.
- Uses dig in startup diagnostic, 10.1 uses drill.

Fixes #8639

Change-Id: I298bdf7d76c91395ae56606d1e2f0176eb0eb792
Reviewed-on: https://go-review.googlesource.com/3173
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-22 23:27:58 +00:00
Brad Fitzpatrick f6a4a4a788 env: add openbsd-386
Fixes golang/go#8642

Change-Id: Ie27c627aa7c4bcff72449dee080865bd148c65e7
Reviewed-on: https://go-review.googlesource.com/3198
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-22 22:24:36 +00:00
Brad Fitzpatrick 32d0520710 all: add env support, freebsd-386, freebsd-amd64-race, re-enable plan9
Update golang/go#9491
Update golang/go#8639

Change-Id: I1f43c751777f10a6d5870ca9bbb8c2a3430189bf
Reviewed-on: https://go-review.googlesource.com/3170
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-22 01:14:08 +00:00
Brad Fitzpatrick 20d848347d build: get OpenBSD working again with a go1.4 tree
I ran an OpenBSD 1.4.1 build by hand with gomote, ran gomote gettar to
get the built tree, and put it on GCS.

This CL then adds the URL of that Go 1.4 pre-built tree to the OpenBSD
builder's configuration, and modifies the coordinator to tell the
buildlet to pull extract the tarball from that URL to the "go1.4"
directory before the build starts.

Aside: I'm taking advantage of the build repo's new freedom in
depending on outside libraries and using Camlistore's syncutil.Group.

Change-Id: I2d6e416d2220d2d34c630fed50344bf2de4ae710
Reviewed-on: https://go-review.googlesource.com/3114
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-21 23:01:20 +00:00
Andrew Gerrand fa8373a2a0 Update import paths after move from tools repo
Also:
- Move the watcher to cmd/watcher (somehow this was missed earlier).
- Move dashboard package from the repo root to its own directory.
- Update docker build scripts. (Although not yet the version hashes in
  the Dockerfiles; this leaves the docker builds broken, but they were
  already broken after moving the builder to cmd/builder. They'll be
  fixed in a followup CL after this one is submitted.)

Change-Id: I29a9758da1f3c60446e3ce18174c0df26e4d8325
Reviewed-on: https://go-review.googlesource.com/3077
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-21 06:37:43 +00:00