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

593 Коммитов

Автор SHA1 Сообщение Дата
David Crawshaw 34ded3f93a cmd/coordinator: fix build and dev mode niceties
Change-Id: I0ce9e46310405e1ad104d7222159027445fe8619
Reviewed-on: https://go-review.googlesource.com/14271
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-03 20:24:40 +00:00
David Crawshaw 953e8694af dashboard: use androidtest.bash for android builds
Change-Id: I4763f6a572bf62ada3fde44b9fcb099d9539c7d0
Reviewed-on: https://go-review.googlesource.com/14270
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-03 20:02:50 +00:00
David Crawshaw c4787c2583 buildlet: fix build
Change-Id: Idbe55892621e673905068849ab3d868f9b7c1ff2
Reviewed-on: https://go-review.googlesource.com/14209
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-03 17:47:45 +00:00
Andrew Gerrand cca8170385 cmd/pushback: new service for refusing pull requests
Change-Id: If44a3ec4d04edc89e9b2bbd0f957010db11a74d2
Reviewed-on: https://go-review.googlesource.com/14141
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-01 20:27:08 +00:00
Andrew Gerrand 4c7245d4fd app/build: add x/arch repo to list
Fixes golang/go#12393

Change-Id: Iecffc79e7c04e3e11596f81d5157ccd0f820c9ee
Reviewed-on: https://go-review.googlesource.com/14146
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-09-01 03:06:42 +00:00
Rob Earhart 264f8cb771 gerrit: Add additional RevisionInfo fields
Adds fields for the 'draft' flag, patch set number, and revision uploader.

Change-Id: I3780e2df046d9fe1065a6dc1b39400b4ea049d3a
Reviewed-on: https://go-review.googlesource.com/13936
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-08-27 01:32:52 +00:00
Rob Earhart 482b2ecd51 gerrit: Add GetAccountInfo
This implements the get-account Gerrit REST API method.

Change-Id: I5e9e7abaabb3e9c85798f52418fab58447960253
Reviewed-on: https://go-review.googlesource.com/13930
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-08-25 19:27:43 +00:00
Rob Earhart 1d862e84f2 gerrit: Add additional fields to RevisionInfo
This adds revision creation date, git ref, and fetch info to the Gerrit
RevisionInfo type.  In particular, adding fetch info allows the caller
to include "DOWNLOAD_COMMANDS" as a field to return in queries; this can
be useful in automation.

Change-Id: I407024b2d50278f7179bc589cbe29fa279d5ab78
Reviewed-on: https://go-review.googlesource.com/13896
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-08-24 21:25:00 +00:00
Andrew Gerrand 515e4ecf72 cmd/release: don't add superfluous trailing slash to zip directories
Change-Id: I2122c8fee49e6fe4bbc0977770ece607e3bbc55d
Reviewed-on: https://go-review.googlesource.com/13716
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-08-20 11:49:15 +00:00
Andrew Gerrand ce7e7fd410 cmd/release: fix upload and execution of releaselet
Change-Id: I9ee23c1473336c914692b0a7aaff799e3e757673
Reviewed-on: https://go-review.googlesource.com/13293
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-06 23:32:40 +00:00
Andrew Gerrand bf8575d05e cmd/gomote: fix vet warnings
Change-Id: Iefe233f0e9c2f1c51b2c70ae35552cc14c52948c
Reviewed-on: https://go-review.googlesource.com/9831
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-06 23:31:16 +00:00
David du Colombier 6ff9135a04 dashboard: run Plan 9 builder on n1-highcpu-4
Updates golang/go#12032.

Change-Id: I7239115b2e0e55f7fc1e5cdf24aa7e314f3bddac
Reviewed-on: https://go-review.googlesource.com/13077
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-05 22:59:41 +00:00
Russ Cox 6df8b685ae cmd/cl: defend against msg.Author == nil
Fixes crash on current Gerrit data.

Change-Id: I2097fa66afcbf938f880c89891d7d9ed65d843ac
Reviewed-on: https://go-review.googlesource.com/12555
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 17:32:01 +00:00
Hyang-Ah (Hana) Kim 67ced7fdca env/linux-x86-std: add libraries required by x/mobile subrepo.
Change-Id: Ib33f9875354ab2d74700f8d213b01c013beee2d5
Reviewed-on: https://go-review.googlesource.com/12891
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 13:08:08 +00:00
Andrew Gerrand 61344adbf9 dashboard: fix build
Change-Id: I9c6a8f554a8bc591b0bab2809c529fad26bcd701
Reviewed-on: https://go-review.googlesource.com/13121
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 02:44:10 +00:00
Andrew Gerrand cae837b68c cmd/coordinator: set GO_BUILDER_NAME env var when exec'ing on buildlet
This will allow tests to identify that they are running on the
continuous build infrastructure and run extra and/or different tests.

Fixes golang/go#11346

Change-Id: Iafe25babc764b7e012c05f0b62331b11690bf194
Reviewed-on: https://go-review.googlesource.com/13120
Reviewed-by: Russ Cox <rsc@golang.org>
2015-08-04 02:42:17 +00:00
Andrew Gerrand 78126804a0 app: show go hashes in each row on sub-repo pages
Change-Id: I5c9ed4e588e9f8319cc39dbca8ca8c1c4a7e39ed
Reviewed-on: https://go-review.googlesource.com/13058
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 01:08:10 +00:00
Andrew Gerrand 106fbe96e4 cmd/release: locate releaselet source in workspace
This allows the release command to be run from any directory.

Change-Id: Ia0cac8ad32fb5a232bdf429ec2d8901ffd773d57
Reviewed-on: https://go-review.googlesource.com/12915
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 00:04:44 +00:00
Andrew Gerrand d719d266c7 cmd/release: run all.bash when constructing releases
This ensures that each release actually passes the tests.

Fixes golang/go#11943

Change-Id: Ia7bb34a611389fe0d529bdb76ff4d0cd68d3d7cd
Reviewed-on: https://go-review.googlesource.com/12914
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-31 04:15:32 +00:00
Andrew Gerrand ca5899f41a cmd/release: write out windows archive as a zip
Change-Id: I1cdc305f131d1a62a94109c357e20e4f1efb3c09
Reviewed-on: https://go-review.googlesource.com/12560
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-29 03:38:22 +00:00
Andrew Gerrand 871e9e97cb cmd/coordinator: set GO15VENDOREXPERIMENT=1 when running sub-repo tests
The coordinator doesn't know how to fetch dependencies outside
golang.org/x/... so we should allow it to use Go 1.5's new vendoring
support.

Change-Id: I5e9a8a7e574a1dc728b2b0a8a35616001ff6bc46
Reviewed-on: https://go-review.googlesource.com/12783
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-29 03:21:07 +00:00
David Crawshaw e29c0bb47c dashboard: add android-arm, darwin-386 buildlets
Change-Id: I2712da649a39db442960dc02e75342dba4dce7c3
Reviewed-on: https://go-review.googlesource.com/12520
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-28 12:48:24 +00:00
Andrew Gerrand a4d1a8a64a dashboard: remove obsolete SplitMakeRun exception
We solved the mentioned issue when we got cmd/release working.

Fixes golang/go#11812.

Change-Id: I163f6757c5e930629fb8b840701e9e3ce7edf3cf
Reviewed-on: https://go-review.googlesource.com/12754
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-28 07:40:43 +00:00
Brad Fitzpatrick 7d76e4e720 cmd/coordinator: nuke the reverse buildlet connection if close hangs.
Fixes golang/go#11869 I hope.

Change-Id: I84b5976e1dd5cf0f7dc8cd0171a283dd833adb18
Reviewed-on: https://go-review.googlesource.com/12632
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-28 05:35:11 +00:00
Andrew Gerrand 063dc2fb3c cmd/release: add uploader code
Change-Id: I9e5bd34e2f8a915171cce2c62ebe9419791601b7
Reviewed-on: https://go-review.googlesource.com/12504
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-23 00:41:49 +00:00
Russ Cox 1dc08cc57d cl: revise rules for choosing official reviewer
If there are multiple +2s, give preference to the person named in an R= line.

If there is a -2 and an R=close, record that as closed.

Change-Id: I9910c0a322688e1f4fa91118c2297158110ddadb
Reviewed-on: https://go-review.googlesource.com/11670
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-22 22:17:01 +00:00
Brad Fitzpatrick abd5ab3e0f cmd/coordinator: don't delete gomote-created VMs in 45 minutes
remote.go has its own timeout tracking. Don't have the GCE VM cleanup
loop also cleaning them up based on VM's "delete-in" metadata.

The GCE VM cleanup loop will still delete unknown VMs if the
coordinator is restarted.

Change-Id: I5803f3c9431d05df8a31758820e082f60a4878fc
Reviewed-on: https://go-review.googlesource.com/12156
Reviewed-by: Austin Clements <austin@google.com>
2015-07-20 19:16:18 +00:00
Brad Fitzpatrick 6a12af6ee2 cmd/gomote: remove the old create-VMs-directly model; always use coordinator
Fixes golang/go#11711

Change-Id: I1c05de286393a610b74595f57487ebd341b6e599
Reviewed-on: https://go-review.googlesource.com/12393
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-20 00:31:48 +00:00
Alex Brainman 2f8733f50c cmd/release: use correct url to fetch windows wix files
Fixes golang/go#11740

Change-Id: Iadf08c5f9459d1a3e9936744ed76a73d03dbae9a
Reviewed-on: https://go-review.googlesource.com/12343
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-17 05:50:08 +00:00
Andrew Gerrand ba1664c4a2 cmd/release: build Windows MSI files
Change-Id: I4a5b1bd900f7d0eead67cb465573496dc2f397b9
Reviewed-on: https://go-review.googlesource.com/12283
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-16 22:31:46 +00:00
Andrew Gerrand 34287c5ea0 build: don't verify certificates in development mode
Change-Id: I8ee6af4e576123be0f95e2f9ab233d455f0d41e3
Reviewed-on: https://go-review.googlesource.com/12224
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-15 21:32:52 +00:00
Andrew Gerrand de0661e7b1 cmd/release: build darwin packages and source tarballs
Change-Id: Idd1143cae097c3d19dcbdf72b8fdf1bc193e77b1
Reviewed-on: https://go-review.googlesource.com/12223
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-15 21:32:32 +00:00
Andrew Gerrand f8b4a13722 cmd/coordinator, cmd/buildlet: use dev cert in development mode
Change-Id: I34cfbb159eef300ef97060d6f4aabc5996bbe27d
Reviewed-on: https://go-review.googlesource.com/12210
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-15 01:25:44 +00:00
Andrew Gerrand 9fb312f7fd cmd/release: fix linux-386 build, add TODOs
Change-Id: Ifff9b2da0c71ba25442cf397a2c409b54b731c26
Reviewed-on: https://go-review.googlesource.com/11969
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-08 17:44:04 +00:00
Brad Fitzpatrick 931f6ead63 cmd/coordinator: add priority awareness to remote buildlet pool
Change-Id: Ic4354839ee5a6347df08ae6db188e574f0a2725b
Reviewed-on: https://go-review.googlesource.com/11944
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-08 04:22:55 +00:00
Andrew Gerrand 78810b0a6f cmd/release: make it actually work
Change-Id: I5e58492e16384739bb7c93dccd54f6c482a47b6e
Reviewed-on: https://go-review.googlesource.com/11970
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-08 02:21:41 +00:00
Brad Fitzpatrick 3e9b740778 cmd/buildlet: fix build, work on Windows, add TODO
Change-Id: I49d2c81826556011849304ab9a6468d0627ce1d7
Reviewed-on: https://go-review.googlesource.com/11945
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-08 01:54:32 +00:00
Brad Fitzpatrick 1fa06d94b3 cmd/coordinator: don't crash in GCE pool if rev len is less than 8
"adg" crashed it.

Change-Id: If8dd524b6bd06f121c3bf2e71faf7164c0cc4581
Reviewed-on: https://go-review.googlesource.com/11966
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-07 22:57:58 +00:00
Brad Fitzpatrick 4b95661f45 cmd/release: use remote buildlets
Change-Id: Id5dfde505c0485bb4cb0ec98c328fd087e96411b
Reviewed-on: https://go-review.googlesource.com/11942
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-07 16:59:38 +00:00
Brad Fitzpatrick 7b6d1b1b28 all: remote buildlets
This creates a mechanism for clients (such as cmd/release and
cmd/gomote) to obtain buildlets via the coordinator. Previously
cmd/release and cmd/gomote could only create GCE VMs themselves, and
required the GCE project's credentials. In addition to the awkwardness
of needing to hand out the GCE credentials, it also meant ARM and
Darwin buildlets (which use the reverse buildlet pool) weren't usable.

Instead, this creates a new auth mechanism where the coordinator is
contacted over TLS with key pinning (the CA system isn't used) in the
same way that the reverse builders already dialed into the
coordinator, and then a "user build type" and hash are sent as the
username and password. The same master key is used to sign user
builder keys, and they always start with "user-". (which isn't a GOOS).

Then the coordinator provides an API to create and list buildlets.
They auto-expire after a duration and are auto-renewed upon use.

The buildlet library (as used by cmd/release etc) then proxies HTTP
requests via the coordinator to the backend buildlet.

See doc/remote-buildlet.txt for protocol details.

Change-Id: I12e27eae788fdd91927cb182b950893dc759f8e9
Reviewed-on: https://go-review.googlesource.com/11901
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-07 16:45:21 +00:00
Brad Fitzpatrick c3a76e24a6 cmd/coordinator/buildongce: make the dev coordinator have a static IP
I made it static in GCE's web UI but as always, I forgot you can't
rename IP addresses in GCE, so we get another special case here since
our auto-detect logic below wouldn't work. Oh well.

Change-Id: Iae2a435576e9b03959f2e634929da94f0e9275c2
Reviewed-on: https://go-review.googlesource.com/11902
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-06 04:23:11 +00:00
Brad Fitzpatrick 2742bc3a0d cmd/release: start of getting darwin buildlets via the coordinator
Change-Id: I4a7bac619d5182235053fc0a10087cbd291b936c
Reviewed-on: https://go-review.googlesource.com/11891
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-05 18:37:25 +00:00
Brad Fitzpatrick a5383ffaa1 cmd/coordinator: shard linux race builder
Fixes golang/go#11074

Change-Id: I9401122e4d7febd3e38a80be89fcb2e03969f383
Reviewed-on: https://go-review.googlesource.com/11168
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-03 20:18:58 +00:00
Andrew Gerrand c03daae2cb app: fix caching of todo handler
Change-Id: I440ae3f20124b59b4679958bc623f00cca94f640
Reviewed-on: https://go-review.googlesource.com/11328
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2015-06-23 01:26:38 +00:00
Andrew Gerrand 3121d292a8 app: fix caching
Also link commits to github (nicer diff view).
Also remove some old Mercurial cruft.

Change-Id: I717900cd9cac9c6b5d08b0594d5adf29ed56eeb7
Reviewed-on: https://go-review.googlesource.com/11327
Reviewed-by: Chris Broadfoot <cbro@google.com>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-23 00:36:41 +00:00
Russ Cox 45cfe47072 cl: hide closed reviews
Add closed flag so people can ask for them.

Change-Id: Ifc69f318f54b0c644d2356381e39a757855cd619
Reviewed-on: https://go-review.googlesource.com/11171
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-17 15:36:33 +00:00
Brad Fitzpatrick c43006e3bc cmd/buildlet: make heartbeat less strict
Now you have to fail 3 in a row before you're killed.

This helped Plan 9 a bunch for a few days, before the change was
reverted (and then it started failing consistently again).

We still don't know why Plan 9 sucks at replying to heartbeats.

Change-Id: Ic64d2e8fb75f544c7c3e9a62c28ab9e20ff8392d
Reviewed-on: https://go-review.googlesource.com/11132
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: David du Colombier <0intro@gmail.com>
2015-06-16 20:31:04 +00:00
Andrew Gerrand 82263f3ae2 env/commit-watcher: bump version
Change-Id: I8a40ad5b2630591923897487bb147142821437ec
Reviewed-on: https://go-review.googlesource.com/11116
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-15 23:38:58 +00:00
Andrew Gerrand b00072526e cmd/coordinator: fix bootstrapping of subrepo builds against releases
Change-Id: I2900ca663a05d37db606bb49042aab4c0cae03c0
Reviewed-on: https://go-review.googlesource.com/11114
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-15 21:56:13 +00:00
Andrew Gerrand cc63cd0d5b app: show sub-repo results for stable releases
The coordinator will automatically start building sub-repos against
the stable releases once this dashboard is rolled out.

Fixes golang/go#11197

Change-Id: I6f0735f842431a1c072d748f9073120812a03309
Reviewed-on: https://go-review.googlesource.com/11112
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-06-15 20:01:03 +00:00