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

1556 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 8c6825293e maintner/cmd/maintserve: fix redirect logic
There was a typo in the redirection code, causing invalid logic.
This change fixes it.

Change-Id: I71f1e98fff488689c988eb72a83b37e031d35b87
Reviewed-on: https://go-review.googlesource.com/56251
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-08-18 17:44:22 +00:00
David Chase e21becd8ee internal/gophers: add gomote-to-github mapping for self
Added drchase -> dr2chase, for ssh access

Change-Id: Id36cf3cde94f785db0202d0100d528f4f7e017f6
Reviewed-on: https://go-review.googlesource.com/56270
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-08-16 21:12:10 +00:00
Jess Frazelle 9f9dbac4d1 cmd/makemac: update readme with service file info
Add instructions for updating the systemd service file on the host.

Change-Id: Ifb73845c32992cea58b3bd734b2980fcb231c0f9
Reviewed-on: https://go-review.googlesource.com/55814
Reviewed-by: Sarah Adams <shadams@google.com>
2017-08-15 17:24:17 +00:00
Jess Frazelle 5dc59b688f cmd/makemac: add restart on failure to systemd service file
Fixes golang/go#21411.

Change-Id: I3e5fa4bd34b7c0805aec9d1a4295d0df748d60fc
Reviewed-on: https://go-review.googlesource.com/55813
Reviewed-by: Kevin Burke <kev@inburke.com>
Reviewed-by: Sarah Adams <shadams@google.com>
Reviewed-by: Herbie Ong <herbie@google.com>
2017-08-15 17:07:59 +00:00
Yuval Pavel Zholkover 5d60a93840 cmd/coordinator: don't skip the main go repo on freebsd-arm-paulzhol builder
Fixes golang/go#21403

Change-Id: Iaef6fe2b10482adbfe3921e46defc1d59759f8d0
Reviewed-on: https://go-review.googlesource.com/55094
Reviewed-by: Sarah Adams <shadams@google.com>
2017-08-11 20:18:10 +00:00
Sarah Adams b125a1d814 x/build/maintner/maintnerd: check CL is found before doing work
Fixes golang/go#21383

Change-Id: I58582709fd83bb5c6ee452bdc7e53658f58dcad8
Reviewed-on: https://go-review.googlesource.com/54751
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-08-11 17:45:34 +00:00
Brad Fitzpatrick d89421852a dashboard: test subrepos for freebsd-arm, add more misc-compile builders
Change-Id: I51f3fee3408d99a502887ea6802f6979feb36439
Reviewed-on: https://go-review.googlesource.com/54051
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-09 14:49:44 +00:00
Brad Fitzpatrick 8a70402ebb maintner: add unused code for parsing Gerrit NoteDB info, sum label votes
Change-Id: I7208c1ed6cda42fb5ad2d13374bd34304c87644c
Reviewed-on: https://go-review.googlesource.com/51912
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-08-07 21:21:00 +00:00
Brad Fitzpatrick b858f34080 cmd/makemac: fix vet warnings
Change-Id: Iab6f2061d6705d06524ac558ecc906ebebc6af9a
Reviewed-on: https://go-review.googlesource.com/53633
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-07 21:13:24 +00:00
Chris Broadfoot ffc9f6cd31 cmd/release: use replace windows-386-gce builder with windows-386-2008
Also, adds a test that would have failed CL 51432.

Change-Id: Icdc5b8a1a94efecd4422618b58ea4733002f0819
Reviewed-on: https://go-review.googlesource.com/53632
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-07 21:00:54 +00:00
Brad Fitzpatrick 96e2ae397e env/darwin, cmd/{buildlet,buildlet/stage0,makemac}: clean MacStadium start-up
The Mac builders were a bit weird in how they started up and refreshed
their buildlet binaries. (Problematically, they DIDN'T refresh their
buildlet binaries properly compared to all the other environments)

This makes them mostly like the other environments and documents the
process more. Instead of booting and downloading a weird ltitle shell
script that only downloads the buildlet binary once, it now downloads
the stage0 binary instead, and the stage0 binary handles the looping
and the smart conditional re-downloading of the buildlet binary per
build.

This also adds a --destroy-all flag to makemac (used to test the new
setup) and fixes a bug found in makemac while testing: it tried to
start twenty 10.8 instances because it didn't account for their boot
time when considering what was needed next. Now instead of just using
what's currently connected to the coordinator, it uses the versions
of the VMs created, even if they're booting and not connected yet.

Change-Id: Ie76b35d3a8c032136568bc0812d8c7dd54e7fa28
Reviewed-on: https://go-review.googlesource.com/53416
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-07 20:59:34 +00:00
Chris Broadfoot 9353f050af version: add go1.9rc2
Change-Id: If2e9c94532e93f90c5583d2882c31fa22b2235d1
Reviewed-on: https://go-review.googlesource.com/53631
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-08-07 20:48:30 +00:00
Brad Fitzpatrick 2446fb35d2 dashboard: convert plan9-arm, plan9-amd64-9front, nacl-arm to buildlets
Updates golang/go#21191

Change-Id: I577dad51d490d7e281ccde9fa7d82bb1bee95bd9
Reviewed-on: https://go-review.googlesource.com/53417
Reviewed-by: David du Colombier <0intro@gmail.com>
2017-08-06 16:39:07 +00:00
Brad Fitzpatrick a7e875c869 cmd/buildlet: use inherited GOROOT_BOOTSTRAP as fallback
Currently the buildlet ignores any GOROOT_BOOTSTRAP defined on the host,
assuming it'll always come from the coordinator.

Relax that a bit to make it easier to migrate people to buildlet from
the older builder.

This doesn't change behavior for any existing builder.

Updates golang/go#21191

Change-Id: I3c3ef77b073d7cecf41855e6d060773b8558935b
Reviewed-on: https://go-review.googlesource.com/53492
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-06 15:31:53 +00:00
Brad Fitzpatrick cf481f445a dashboard: add freebsd-arm host notes
Copied from https://github.com/golang/go/wiki/DashboardBuilders

Change-Id: If69e5fc85af380bf92f408c68b481d0cd5cc1bdb
Reviewed-on: https://go-review.googlesource.com/53359
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-06 15:30:38 +00:00
David du Colombier ce623a52a5 cmd/buildlet: fix homedir on Plan 9
On Plan 9, the home environment variable contains the
user's home directory.

Updates golang/go#21191

Change-Id: Ia421aebe5b3cfec6a2baa1bb7972183c8be19b97
Reviewed-on: https://go-review.googlesource.com/53473
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-06 15:25:34 +00:00
Brad Fitzpatrick ddefd9fa23 dashboard: rename freebsd-arm to freebsd-arm-paulzhol
I didn't realize that the freebsd-arm builder was actually called
freebsd-arm-paulzhol before and I mistakenly created the replacement
buildet-based builder as "freebsd-arm".

Name it how it was.

Change-Id: Ib7d73947ce599c82c628ab323001213e1b4ee20b
Reviewed-on: https://go-review.googlesource.com/53358
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-06 03:55:17 +00:00
Brad Fitzpatrick a66de461d9 dashboard: set SkipSnapshot on freebsd-arm and dragonfly-amd64
No point snapshotting for non-sharded builders.

And snapshotting is too slow and hits the timeout on freebsd-arm.

Updates golang/go#21191

Change-Id: I225aa6af493b92aa45589491c69853e13d513dd1
Reviewed-on: https://go-review.googlesource.com/53493
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-06 03:52:34 +00:00
Brad Fitzpatrick c1ae927fe1 dashboard: set GOROOT_BOOTSTRAP for dragonfly-amd64 and freebsd-arm
Updates golang/go#21191

Change-Id: I09854a99c17dec204ee3a1f7c197bb7b69895979
Reviewed-on: https://go-review.googlesource.com/53491
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-05 23:26:57 +00:00
Brad Fitzpatrick e47c447baf dashboard: update dragonfly-amd64 and freebsd-arm to be buildlet-based
Updates golang/go#21191

Change-Id: I636204e9e4cbe77e34b2bbad65312fb6f2ace2dc
Reviewed-on: https://go-review.googlesource.com/53490
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-05 22:58:25 +00:00
Brad Fitzpatrick 615aa4d143 cmd/buildlet, cmd/makemac: normalize macstadium host names for monitoring
In prep for better alerting when dedicated (reverse) buildlers
disappear, normalize the the MacStadium host names to remove the
extraneous guest OS version from them, so we can track the host's
last-seen time reliably over time, even as the guest OS version
changes.

This CL also cleans up makemac while it's there and fixes some bugs
and adds some paranoia checks and cleans up logging and adds an HTTP
status handler.

A future change will improve coordinator monitoring of reverse
buildlets.

Updates golang/go#21315

Change-Id: I3d09168cc91f37715b65ae2924a1642401e18808
Reviewed-on: https://go-review.googlesource.com/53353
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
2017-08-05 18:19:34 +00:00
Kevin Burke 732fb5facf cmd/coordinator: make farmer styles slightly less hideous
- Use a ¶ for in-page links like Godoc does, instead of a "link" emoji

- Only underline it if you are hovering

- Make the link target bigger by making the entire <h2> selectable

Change-Id: I48c2f0c5aa3c03403f20fd9774b8cdde26d5e9e5
Reviewed-on: https://go-review.googlesource.com/52051
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-04 06:01:41 +00:00
Brad Fitzpatrick 3f85f489b4 dashboard: reenable FreeBSD 9.3/10.1, OpenBSD, and Plan9 builders
The GCE bug is fixed and these VMs boot again.

(Previously: golang.org/cl/50011)

Change-Id: I3f330b8d0c6a6ae6708b2299bba13945a06fa36f
Reviewed-on: https://go-review.googlesource.com/53270
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-04 06:00:28 +00:00
Benny Siegert a8044f5fcd x/build: use NetBSD-8 packages for netbsd-amd64 builder
This should fix the latest set of errors that bradfitz@ was seeing.

Updates golang/go#20852

Change-Id: Iad7d6a479c5546395de907731643c1d817fe625d
Reviewed-on: https://go-review.googlesource.com/53010
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-04 03:55:58 +00:00
Brad Fitzpatrick 9e6c6517d7 internal/gophers: add more gomote to github mappings for ssh access
And some cleanups in the originally-auto-generated tables used by
stats above.

Change-Id: Ie2279e1926fa05cfc124e04ce074e05df4af2a0c
Reviewed-on: https://go-review.googlesource.com/53230
Reviewed-by: Sarah Adams <shadams@google.com>
2017-08-03 22:20:55 +00:00
Brad Fitzpatrick 9bcc5f597e cmd/buildstats, cmd/coordinator: run buildstats sync in background
This CL is almost entirely code movement. There is new code in
cmd/coordinator/gce.go.

This library-itizes the buildstats code and makes it used by both
cmd/buildstats (when run by hand) and cmd/coordinator, which now runs
it in a loop in the background.

Running cmd/buildstats by hand is still pretty useless because it
doesn't yet(?) have any query subcommands. It only has the original
-sync command, which is now automatic in the coordinator. But it could
still be useful for debugging or running manually in the staging
environment.

This will permit running BigQuery queries at any time, without Brad or
somebody first manually running cmd/buildstats -sync.

This also means we'll be able to get rid of a bunch of the static (and
stale) timing information in the coordinator code and use empirical
numbers instead for buildlet creation times and per-test durations.
This will help the test sharding schedule things better and result in
faster builds.

Updates golang/go#12669

Change-Id: If9a3b414f8d458a65305c4916ea16d59e5a3971c
Reviewed-on: https://go-review.googlesource.com/53072
Reviewed-by: Sarah Adams <shadams@google.com>
2017-08-03 20:46:40 +00:00
Brad Fitzpatrick a5db4d3b30 internal/gophers: add gomote to github mapping for iant
So Ian can ssh to gomote instances.

Change-Id: If03187f9038bc3753e0cc69479ce71d260409044
Reviewed-on: https://go-review.googlesource.com/53190
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-08-03 20:33:16 +00:00
Dmitri Shuralyov 19c1169e30 maintner/cmd/maintserve: add maintserve command
maintserve is a program that serves Go issues over HTTP, so they
can be viewed in a browser. It uses x/build/maintner/godata as
its backing source of data.

Note that it statically embeds all the resources it uses, so it's
possible to use it when offline. During that time, the corpus will
not be able to update, and GitHub user profile pictures won't load.

This is an iteration of an existing command named servegoissues,
with import path github.com/bradfitz/go-issue-mirror/cmd/servegoissues.
That program served the same purpose, but was located in another
repository. It used a "previous generation" approach to having
a corpus of GitHub issues data for Go projects, namely the
github.com/bradfitz/go-issue-mirror/issues package, which used
github.com/bradfitz/issuemirror technology.

The intent of maintserve is to replace servegoissues. It uses
the golang.org/x/build/maintner/godata package as its source of
data, which is built on top of the golang.org/x/build/maintner
technology.

Currently, maintserve has 2 types of pages:

-	Index page, which lists repositories.
-	Issues pages, which display a read-only version of issues.
	This functionality is implemented in external issuesapp package.

By default, maintserve starts as an HTTP server at on port 8080,
so you should visit http://localhost:8080/ in a browser after
running the command. Note that the first run may take a while,
since godata.Get will need to download the entire corprus:

	The initial call to Get will download approximately 350-400 MB
	of data into a directory "golang-maintner" under your operating
	system's user cache directory. Subsequent calls will only
	download what's changed since the previous call.

Helps bradfitz/go-issue-mirror#7.
Depends on shurcooL/issues#5.

Change-Id: I421147df08c6f664afff0e70abb5d6aa6a42b2d5
Reviewed-on: https://go-review.googlesource.com/52932
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-03 19:13:04 +00:00
Brad Fitzpatrick f9342a306c cmd/gomote: ignore some new paths for deleting in gomote push
Since Go 1.9, the cmd/go tool has rearranged and the Go build now
writes some auto-generated files in different places. Don't delete
these auto-generated files in a "gomote push".

Otherwise you can't iteratively:

* hack locally
* gomote push
* test remotely

... without getting remote errors about missing files.

Change-Id: Iaf4d03f4a2cde46f5022b63066186495b3ae2c01
Reviewed-on: https://go-review.googlesource.com/53070
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-08-03 17:11:06 +00:00
Sarah Adams 25c11eefc7 env/linux-arm64/packet: add link to credentials in README
Change-Id: If270178360f72d8d0a51591cd000586f51f079cf
Reviewed-on: https://go-review.googlesource.com/52850
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 23:16:50 +00:00
Brad Fitzpatrick 73f88a6d4c all: add README.md files where missing, and tool to keep them updated
Change-Id: I385171c415bf168c04c6c3a7a996bff88964af84
Reviewed-on: https://go-review.googlesource.com/52856
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-08-02 22:17:52 +00:00
Brad Fitzpatrick d29668b51d cmd/buildlet/stage0: stop using deprecated --reverse flag to buildlet
Updates golang/go#21260

Change-Id: Ic4d96ef3984017944c5a9af087ea7010e5193f32
Reviewed-on: https://go-review.googlesource.com/52650
Reviewed-by: Jessica Frazelle <jessfraz@google.com>
2017-08-02 20:37:19 +00:00
Brad Fitzpatrick 31150bae69 cmd/coordinator: clarify in logs which reverse clients are using legacy config
We want to kill off the --reverse vs --reverse-host code. This will
point out any clients still using the old way. There might not be any.

Updates golang/go#21260

Change-Id: Ic4b283b02891655ee43f2b7db76088df3f12065a
Reviewed-on: https://go-review.googlesource.com/52633
Reviewed-by: Sarah Adams <shadams@google.com>
2017-08-02 20:31:41 +00:00
Herbie Ong 240bc6e6a8 dashboard: remove no longer used build configs for android and ios.
Also, remove logic in addBuilder that sets HostType for mobile configs.

Change-Id: Id87f885fb56887abf52f656d06981f5b36b73310
Reviewed-on: https://go-review.googlesource.com/52634
Reviewed-by: Tuo Shan <shantuo@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 20:30:03 +00:00
Brad Fitzpatrick db4f528a66 cmd/builder: update docs, delete more dead code
Updates golang/go#21191

Change-Id: I83319a4994959c31be2d41ec4622aac5f3ee4eca
Reviewed-on: https://go-review.googlesource.com/52632
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2017-08-02 17:10:39 +00:00
Shawn Walker-Salas 821d1eb2fe x/build: bootstrap tweaks for solaris builders
Change bootstrap logic for solaris builders to avoid applying it to
Oracle Solaris builders. Additionally, update the location of the
Go bootstrap to reflect actual Oracle Solaris builder configuration.

Fixes golang/go#21241

Change-Id: Ia2f21fab1581b4c195256c0dca7a87b4212798bf
Reviewed-on: https://go-review.googlesource.com/52310
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 16:53:33 +00:00
Brad Fitzpatrick 794fc8211d cmd/builder: delete unused gccgo, old^2 perf dashboard, and mercurial support
Step 1 of migrating cmd/builder users to cmd/buildlet users: delete
unused code to make sense of what actually remains.

Updates golang/go#21191

Change-Id: I74d52d49ea0f3ff347ff188dcc0f2c491afca2ff
Reviewed-on: https://go-review.googlesource.com/51830
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Herbie Ong <herbie@google.com>
2017-08-02 04:09:56 +00:00
Lann Martin be55dc02bb gerrit: add TimeStamp.MarshalJSON method
This mirrors TimeStamp.UnmarshalJSON. Helps in emulating a Gerrit server
in integration tests.

Add tests for TimeStamp.UnmarshalJSON and .MarshalJSON.

Fixes golang/go#21261

Change-Id: I972164c35308f5c5c46cf68847d52da2475182c3
Reviewed-on: https://go-review.googlesource.com/52471
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 03:56:33 +00:00
Brad Fitzpatrick 6a2f338a4d env/solaris-amd64/joyent: add Joyent username, link to password, illumos note
Change-Id: Ifd93a6e1f8eb666aa1ddc7810942e4a06d0ebeae
Reviewed-on: https://go-review.googlesource.com/52631
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 03:47:18 +00:00
Brad Fitzpatrick 5ee8f06bdb env/liunx-arm64/linaro: add docs on filing tickets and user/pass link
Change-Id: I1230b51a695c4bda7ba25c81dfa92d39d9891ccd
Reviewed-on: https://go-review.googlesource.com/52630
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-02 03:42:01 +00:00
Sarah Adams 103294fea1 env/linux-arm64/packet: update README for new instance
Change-Id: Ic45acab7e36d69c31c3e95144f965da00e4a9f86
Reviewed-on: https://go-review.googlesource.com/52550
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
2017-08-01 21:21:20 +00:00
Brad Fitzpatrick 885c07b0b0 cmd/scaleway: fix typo
Change-Id: I2669b712546f57fada8079be839354e8094b9979
Reviewed-on: https://go-review.googlesource.com/52450
Reviewed-by: Sarah Adams <shadams@google.com>
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
2017-08-01 17:08:23 +00:00
Sarah Adams da1460b7c9 cmd/coordinator: add basic Stackdriver error reporting
Fixes golang/go#21148

Change-Id: I2249dbffc6feaa79f755f79fc75916092b190517
Reviewed-on: https://go-review.googlesource.com/50880
Reviewed-by: Tuo Shan <shantuo@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 21:35:02 +00:00
Andrew Bonventre fc164926f2 all: rename -dev to -staging in filenames and Makefile targets
"Dev" should refer to local development, not the staging server.

Change-Id: Icb02095ee24b7f890ca1c867a13cbdc45d1232bc
Reviewed-on: https://go-review.googlesource.com/52290
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 20:52:40 +00:00
Brad Fitzpatrick 34e52f7856 env/windows: note where OpenSSH for Windows came from
Change-Id: I4f006fc6726200be06a1e7c4f133b2c5a98af1ef
Reviewed-on: https://go-review.googlesource.com/52250
Reviewed-by: Jeff Johnson <jrjohnson@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 20:49:43 +00:00
Brad Fitzpatrick 16949819bd cmd/scaleway: link to Google-internal URL to get the API token value
Change-Id: I7590a63cd334237ffda3a2d7e6459ecaa93ae5fd
Reviewed-on: https://go-review.googlesource.com/52210
Reviewed-by: Sarah Adams <shadams@google.com>
2017-07-31 18:52:18 +00:00
Jess Frazelle 0e6fb43d69 dashboard: turn on arm-scaleway builders
Updates golang/go#21237

Change-Id: Iaaa2f03543d9b85de5bd30814aecacb6d85b8a66
Reviewed-on: https://go-review.googlesource.com/52192
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 17:37:21 +00:00
Jeff Johnson 8850faea0a env/windows: move dependencies to go-builder-data bucket
response to comment in https://go-review.googlesource.com/c/51831/

Change-Id: Ib39ee31fc3e13db30e4f4fe2bd6465a0c4ae4e50
Reviewed-on: https://go-review.googlesource.com/52171
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 16:56:13 +00:00
Jess Frazelle 56bff7b560 dashboard: remove linux-arm-scaleway while we fix issues
Updates golang/go#21237

Change-Id: Iae62120b96235fae84d6c689802506daeac45ca8
Reviewed-on: https://go-review.googlesource.com/52130
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-31 16:20:09 +00:00
Brad Fitzpatrick fff6e1803a maintner/maintnerd: use Gerrit to calculate TryBot/Result votes
In https://golang.org/cl/51590 I tried to calculate the Run-TryBot and
TryBot-Result vote sums using the Gerrit NoteDB mirror we have in
maintner, but after two days of fighting it now, I've concluded it's
tricky. While I work on the tricky bits in parallel, this CL partially
reverts CL 51590, which had enough other cleanup and progress that it
wasn't worth reverting in its entirety.

Instead, move the Gerrit querying to maintnerd (instead of coordinator).
This isn't bad because maintnerd already queries Gerrit.

And coordinator will still be polling every second (introduced in
51590) instead of the old 60 seconds, but this CL now adds caching in
the RPC handler.

Change-Id: I80a519d9026a0981e3abf43d54a32b4684bda0e5
Reviewed-on: https://go-review.googlesource.com/51970
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-07-30 16:09:47 +00:00