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

15 Коммитов

Автор SHA1 Сообщение Дата
Andrew Gerrand 609781261b buildlet: add Dir option to ExecOpts
Change-Id: I74168786d2fd77d281c18a5fdf3f2321dfd109b8
Reviewed-on: https://go-review.googlesource.com/4500
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-11 00:40:37 +00:00
Andrew Gerrand 91d984cb5d buidlet, gomote: implement put single file
Change-Id: I2b1decc2907edde7a52a4eb3584c327a7a233fa7
Reviewed-on: https://go-review.googlesource.com/4360
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-10 23:42:10 +00:00
Brad Fitzpatrick de8994a318 gomote, buildlet: add ls, push
Add gomote and buildlet support for listing remote files, and
efficiently syncing from the local workstation to the remote buildlet.

Change-Id: Ifab1fb1c208ca4bc66f8d6916c38e1914001a3a5
Reviewed-on: https://go-review.googlesource.com/4270
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-10 04:21:37 +00:00
Andrew Gerrand 84aecb26fb buildlet: add WorkDir method on Client
Also fix the RemoveAll method by setting the request Content-Type.

Change-Id: I87ec29c5c0da06eba5eaebcd00bdbef18e6ae8ad
Reviewed-on: https://go-review.googlesource.com/3880
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-04 15:56:37 +00:00
Andrew Gerrand 376b01da1e buildlet: add DestroyVM method to Client
And use it in gomote and release tools.

Change-Id: I87fa013d6d6729e7305dacd137be1b3d3b02f5f4
Reviewed-on: https://go-review.googlesource.com/3771
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-03 12:52:26 +00:00
Brad Fitzpatrick f68e9f5cca buildlet: set TCP keep-alive timeouts, avoid fd leaks
Change-Id: Ia95dcf2d796846f9f0368a9672d3dc0d1f4c0d6f
Reviewed-on: https://go-review.googlesource.com/3770
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-03 11:38:45 +00:00
Andrew Gerrand 212bff2686 buildlet: add RemoveAll
Change-Id: I26be5d6f0e808f317d2f548110e41908cbb0abbd
Reviewed-on: https://go-review.googlesource.com/3694
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-02 12:04:43 +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 4f7abaa595 all: remove extdep build tag, now that it's all out of x/tools
The 'build' repo (unlike the 'tools' repo) is allowed to depend on
anything.

Change-Id: I4caa9fe61bccf05f488152eac53ed5769a848d4d
Reviewed-on: https://go-review.googlesource.com/3113
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-21 16:18:31 +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
Brad Fitzpatrick b35ba9f037 dashboard: buildlet client, server, and gomote enhancements
- get tarballs out of buildlets
- gomote can pass arguments to buildlet's exec handler
- buildlet's exec handler can run system-level commands
- hard-code GOROOT_BOOTSTRAP to be "go1.4" under the workdir
- adjust MTU size on GCE

etc

Change-Id: I73e18b7a5e395a889f5ee93ba9850d331ffb7812
Reviewed-on: https://go-review.googlesource.com/3052
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-21 02:32:54 +00:00
Brad Fitzpatrick 0cc0461860 dashboard/cmd/buildlet: support for writing files from tgz URL directly
Client + server support, and gomote flags.

Change-Id: I91320f47731f8c69b84c4961028bfbbdfc85467a
Reviewed-on: https://go-review.googlesource.com/3029
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-20 04:00:09 +00:00
Brad Fitzpatrick 874c0834ce dashboard: start of cmd/gomote buildlet client, more packification
Change-Id: I874f4f5ef253cf7f1d6d5073d7c81e76fa1de863
Reviewed-on: https://go-review.googlesource.com/2981
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-20 03:05:44 +00:00
Brad Fitzpatrick f8c2484735 dashboard: move buildlet exec code from coordinator to client package
Change-Id: I778ac78ed02be9f67436ec045a3816dfc24afda3
Reviewed-on: https://go-review.googlesource.com/2923
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-16 17:58:30 +00:00
Brad Fitzpatrick f3c01930bc dashboard: create buildlet client package, move coordinator code into it
Operation Packification, step 2 of tons.

Eventually the buildlet client binary will use this stuff now.

Change-Id: I4cf5f3e6beb9e56bdc795ed513ce6daaf61425e3
Reviewed-on: https://go-review.googlesource.com/2921
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-16 16:34:20 +00:00