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

777 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick a190cd2395 cmd/coordinator: ignore non-master branches when setting repo heads
Fixes golang/go#16413

Change-Id: I4876a7ac261bd31918dfebc119997c08ad9af78b
Reviewed-on: https://go-review.googlesource.com/25008
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-07-18 22:00:43 +00:00
Chris Broadfoot 66c2dc2fee cmd/release: don't try to copy to go/bin/godoc if it already exists
Change-Id: I11e68706bfe0e63baea659ab9982e3bfbe3802c7
Reviewed-on: https://go-review.googlesource.com/25003
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-18 16:37:59 +00:00
Andrew Gerrand 82423c1e52 cmd/release: remove .github directory before build
Fixes golang/go#15932

Change-Id: I52c8c3b2c888100a9988270aa2ab7a2bfad7715a
Reviewed-on: https://go-review.googlesource.com/24752
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-05 06:09:07 +00:00
Johan Euphrosine f46fbc254a build/kubernetes: add secret API methods
- add Get and Create secret
- refactor client
- fix example

Change-Id: Ia5c6f17e86cb01aa8093ec058630b40ee61fa74f
Reviewed-on: https://go-review.googlesource.com/21765
Reviewed-by: Evan Brown <evanbrown@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-01 18:31:07 +00:00
Joe Sylve 476a963cb3 env: add solaris build script
This script installs the buildlet as a service.  It does not yet
use the stage0 binary.

Updates golang/go#15072
Updates golang/go#9515

Change-Id: I1566a821cbc26b9007d5ceba20020c2efa37f038
Reviewed-on: https://go-review.googlesource.com/21791
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-06-30 00:58:42 +00:00
Brad Fitzpatrick face166226 cmd/issuelock: support locking a specific issue
Change-Id: I87792b5cd2a34cfde4c42519f83f750350d778a2
Reviewed-on: https://go-review.googlesource.com/24611
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-30 00:04:17 +00:00
Brad Fitzpatrick 99b219b546 cmd/issuelock: new tool to freeze old Github issues
Updates golang/go#14903

Change-Id: I0d9a8482235ef7f94e2409eaa9b30ac161325711
Reviewed-on: https://go-review.googlesource.com/24504
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-06-27 21:08:34 +00:00
Quentin Smith 89e8d00eaf devapp: sort dashboard by milestone
Milestones are more useful if it's easy to see issues grouped by
milestone; this resorts the dashboard issues by milestone due date
before displaying them. Thus Go1.7 comes first, then Go1.7Maybe, then
Go1.8Early, etc.

Change-Id: I75aa32e00842413dcd62d6ec30893c8359cff44f
Reviewed-on: https://go-review.googlesource.com/23720
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-16 18:36:09 +00:00
Andrew Gerrand 4976a6a50e cmd/pushback: add example repo to list
Change-Id: I5f13332a0d0b8efd83ffb605fef993827c518f85
Reviewed-on: https://go-review.googlesource.com/24133
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-06-15 10:36:52 +00:00
Andrew Gerrand f88094097f kubernetes/api: change import path for inf package
The author moved their repository.

Change-Id: I9944c666aa772651c99cecb91b92e5ab7fce3e8b
Reviewed-on: https://go-review.googlesource.com/23676
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-06 01:38:33 +00:00
Andrew Gerrand a277b3f099 cmd/release: copy godoc to $GOROOT/bin/godoc instead of gotour
Fixes golang/go#15941

Change-Id: I02dc47c3e6b1426f414db5922d403af040a1af10
Reviewed-on: https://go-review.googlesource.com/23730
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-06-03 01:49:56 +00:00
Quentin Smith abc838000e godash: make dashboards responsive
This makes the dashboard more Responsive. Woohoo.

https://www.reddit.com/r/golang/comments/4ks3m3/go_release_dashboard/d3ht3mg

Change-Id: I47b063d7ac3423e129fa084b9779c8fc0888d38a
Reviewed-on: https://go-review.googlesource.com/23640
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-02 18:40:08 +00:00
Quentin Smith 7f572f1cb3 devapp: improve formatting of the development dashboard
Adds a last updated time to the top of the dashboard, and fixes the
"mine" and "unassigned" CSS classes to be properly applied to CLs.

Change-Id: I1c080b17cd78134674c69f1941cd81fbb287ebce
Reviewed-on: https://go-review.googlesource.com/23602
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-02 18:39:28 +00:00
Quentin Smith 8338faeebc godash: use Gerrit-derived scores
Previously, cmd/cl and cmd/godash were parsing Gerrit comments to
determine the current code review scores. They were missing some valid
Code-Review comments. Instead, just trust Gerrit's reported scores.

Change-Id: I4a07ebbce03d143d192cca87b0bfcb67f599fcf3
Reviewed-on: https://go-review.googlesource.com/23605
Reviewed-by: Austin Clements <austin@google.com>
2016-06-01 21:55:41 +00:00
Quentin Smith 03b0f5e524 devapp: add development dashboard
Resurrect the old go-dev.appspot.com, now backed by Gerrit and
GitHub.

Everything works except the state-mutating functions (permanently muting
directories, and changing the assigned reviewer from the dashboard). The
latter will likely never work with Gerrit.

Change-Id: Iad712ef2995f21083dbc57b399504d9da6f0f2c6
Reviewed-on: https://go-review.googlesource.com/23600
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-01 14:46:59 +00:00
Andrew Gerrand bd6b12a04d cmd/release: move godoc binary from $GOPATH/bin to $GOROOT/bin
After https://golang.org/cl/21701 is in the tree,
cmd/go won't put godoc in $GOROOT/bin automatically.

This should be submitted once the dependent CL is in,
shortly before rolling the 1.7 beta,
as it will break cmd/release for building Go 1.6 and below.

Fixes golang/go#15106

Change-Id: I1de1b658291d1d031f123fa12c18893e538d7e8f
Reviewed-on: https://go-review.googlesource.com/21703
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-26 19:30:21 +00:00
Andrew Gerrand 9eedd96919 godash: fix link to 'about the dashboard'
Change-Id: I3fe1fdfc28b1d7503e96b4c8561ecd8bf177c89f
Reviewed-on: https://go-review.googlesource.com/23381
Reviewed-by: Russ Cox <rsc@golang.org>
2016-05-24 06:14:46 +00:00
Russ Cox 7c4b61b087 godash: show all milestones beginning with Go 1.x.
Order the milestones by due date, not alphabetically.
This lets us create milestones like Go1.7Beta and have the dashboard
automatically pick them up.

Change-Id: I917f3be8d4b0db6821f1265eb6dfd165ba8a1fe0
Reviewed-on: https://go-review.googlesource.com/23371
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-24 02:19:19 +00:00
Russ Cox 18d2e99245 devapp: change refresh to 5 minutes
The old dashboard on swtch.com refreshed every 5 minutes.
Surely we can do the same.
30 minutes is just too slow.

Change-Id: I338b3ae3277752e05bb2c7af42ba9770b8da6669
Reviewed-on: https://go-review.googlesource.com/23370
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-24 02:19:16 +00:00
Quentin Smith b0892397e0 devapp: GAE app for serving release dashboards
This uses the godash command/library to serve release dashboards, on a
new app to be hosted at dev.golang.org.

The dashboards are automatically updated by a cron job every 30 minutes.

Change-Id: I2e1e6a270e26fd93a9c767b0168e2c8c520e8ace
Reviewed-on: https://go-review.googlesource.com/23210
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-05-24 00:01:02 +00:00
Quentin Smith 5f1a60a855 cmd/godash: load reviewer information from Github
This allows the godash command to function without a local git clone of
the go repo. Because that is slow, it also allows the godash command to
cache commit information so it only needs to fetch new commits on each
run.

This behavior change is necessary so that we can run godash on App
Engine, which does not have a local filesystem.

Change-Id: I5bcdae62b22d46c0d6e02a152f58fd3c110e7a82
Reviewed-on: https://go-review.googlesource.com/23139
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-19 14:55:53 +00:00
Quentin Smith 745a699c70 all: import godash into the build repo
This imports the godash command-line tool from rsc.io/github/godash. The
tool is refactored into a reusable library, in preparation for running
the tool as part of the build.golang.org App Engine app.

The behavior is mostly the same as the version on rsc.io, but it
eliminates the ability to use a data cache on disk, and it replaces the
hardcoded release version with logic that uses the lowest version
milestone that is marked open on Github.

Change-Id: If5ca5483a07ec60f74f45d140974c4140fff34ca
Reviewed-on: https://go-review.googlesource.com/23095
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-18 18:40:39 +00:00
Quentin Smith a08045c51b all: refactor cl command into a reusable library
This is in preparation for moving godash into the build repo, which uses
the same CL parsing code.

Change-Id: I26e15884af754e638457db0fe33e288d0b851a7c
Reviewed-on: https://go-review.googlesource.com/23094
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-18 18:40:37 +00:00
Brad Fitzpatrick 940da928a2 buildlet: fix gomote crash
ctx was initialized in the wrong place.

Change-Id: I7fb3c56071a3e4d5cc2199e07fcc4b8ecbc7a674
Reviewed-on: https://go-review.googlesource.com/22967
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-10 03:51:36 +00:00
Brad Fitzpatrick 721b5e39b2 dashboard: update plan9 image
Based on https://golang.org/cl/22319 from 0intro.

Updates golang/go#11194
Updates golang/go#14534

Change-Id: I05650d74970f1ca108c520a44a326cbe8229422e
Reviewed-on: https://go-review.googlesource.com/22966
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-10 03:38:38 +00:00
David du Colombier 08b01759f3 env: update Plan 9 image
This new Plan 9 image provides various fixes to the Plan 9 kernel.

The most notable change is a fix to the pread system call, so
pread will not update the channel offset when reading a file.

Updates golang/go#11194.
Updates golang/go#14534.

Change-Id: Ia8f537b3559fbc98a191bda836cd3e0035e16eec
Reviewed-on: https://go-review.googlesource.com/22319
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-10 03:38:14 +00:00
Brad Fitzpatrick 79f01e0ca7 buildlet: don't hang in HTTP requests if heartbeats fail
Fixes golang/go#15582

Change-Id: Iab31cb4770728d2cc405f930c973d87bae7fbf10
Reviewed-on: https://go-review.googlesource.com/22890
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-09 21:13:28 +00:00
Brad Fitzpatrick 00003f4e71 dashboard: mark some builders as having flaky networks
Follow-up to https://golang.org/cl/22852

Change-Id: I5f0cd25248a8892b7d1b0f14e87b12b8b9a8da3a
Reviewed-on: https://go-review.googlesource.com/22883
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-05-06 19:23:35 +00:00
Brad Fitzpatrick 72e4404a40 cmd/coordinator: more UI tweaks
Change-Id: I65c5a200d8d28f84159e3f976ede1f17dc9dc872
Reviewed-on: https://go-review.googlesource.com/22827
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-06 16:07:38 +00:00
Brad Fitzpatrick 6417ab41e1 cmd/coordinator: skip building some subrepos
Change-Id: Icb2f9c3a63ed28bf8255ba24f65fa6e46b078d78
Reviewed-on: https://go-review.googlesource.com/22832
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-05 22:28:43 +00:00
Brad Fitzpatrick 8c097145c4 cmd/coordinator: UI update
* Move buildlet pools to top
* add #id elements to headings so we can link to #fragments
* collapse details of recently-completed builds
* link to build logs of recently-completed builds anyway

Change-Id: I39fc109e673c9bbbfe2e4904dbdbd6b4cbe42b6f
Reviewed-on: https://go-review.googlesource.com/22825
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-05 20:34:04 +00:00
Brad Fitzpatrick 4a3f4a8c16 kubernetes: avoid the WatchPod streaming API
Poll every 5 seconds instead.

Change-Id: I0a8a30fee1118b2aecf4b3cbbf342e07afc27602
Reviewed-on: https://go-review.googlesource.com/22820
Reviewed-by: Evan Brown <evanbrown@google.com>
2016-05-05 20:21:37 +00:00
Brad Fitzpatrick 8c6116ada0 cmd/coordinator: shard the misc-compile builder over 4 builders
Now that it's on Kubernetes, it's fast and cheap to shard it wider.

Change-Id: I2858f4c417ef26661575a348fbfc47f4c25d81a2
Reviewed-on: https://go-review.googlesource.com/22795
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-05 15:54:32 +00:00
Brad Fitzpatrick c6ced0a944 kubernetes: be more defensive in WatchPod
Change-Id: I0fe9bfb9f0a440a33ff8eedf00940f53b2b7dc87
Reviewed-on: https://go-review.googlesource.com/22789
Reviewed-by: Evan Brown <evanbrown@google.com>
2016-05-04 23:35:15 +00:00
Brad Fitzpatrick de72d46c6c build: move Linux and nacl builders to Kubernetes, add ssacheck trybot
And shard the nacl builders.

Fixes golang/go#15242
Fixes golang/go#12546

Change-Id: I3311678dbb64a76026f75f5691cffac0f25d976b
Reviewed-on: https://go-review.googlesource.com/22780
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Ross Light <light@google.com>
2016-05-04 23:30:26 +00:00
Brad Fitzpatrick cf68cec0bc cmd/coordinator: ignore ssacheck failures for old commits
If a commit doesn't have the new cmd/dist -compile-only flag, just skip
the ssacheck tests.

Change-Id: I41a5ce39968a073cd4be97e31bd26ffc5cf68699
Reviewed-on: https://go-review.googlesource.com/22793
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-04 23:29:58 +00:00
Brad Fitzpatrick b7333cfaa7 cmd/coordinator: fix pinging of dashboard to show in-progress builds
The blue in-progress gophers have been missing in build.golang.org
because the magic log span strings changed.

Change-Id: I702883d8a6f6eea31aaaaa25ebe10e929992a677
Reviewed-on: https://go-review.googlesource.com/22747
Reviewed-by: Ross Light <light@google.com>
2016-05-03 23:59:46 +00:00
Brad Fitzpatrick 4c6cb0becf cmd/buildlet: set PATH on solaris to include /opt/local/bin
Because that's where gcc is.

Updates golang/go#9515

Change-Id: Ie7c7a5bbfa2e7565762aa273303352a79a340cea
Reviewed-on: https://go-review.googlesource.com/22746
Reviewed-by: Ross Light <light@google.com>
2016-05-03 23:59:43 +00:00
Ross Light 4cd5d29d66 env/solaris-amd64/joyent: update README to add gcc
Change-Id: I5ed1f395b4182c57e8877d59b1feb4462db25808
Reviewed-on: https://go-review.googlesource.com/22743
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-03 23:22:28 +00:00
Ross Light 2e248f5497 env/solaris-amd64: new environment
Write up a minimal SMF service and docs on how to create an image.

Change-Id: I9f0e73345e681dd6b907502c33ff919aa1274b31
Reviewed-on: https://go-review.googlesource.com/21673
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-03 22:48:48 +00:00
Ross Light 9649a7682c cmd/buildlet: download 1.4 bootstrap on SmartOS
Change-Id: Iafd9613ff09f9fbf0d3c715d2af87a55ac29d3ed
Reviewed-on: https://go-review.googlesource.com/22723
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-03 22:47:49 +00:00
Brad Fitzpatrick cdc3b85f4c internal/httpdl: new package to download things
Change-Id: I9aa4c9388e79a06e5fbedb033ce2d41e8f8a34ca
Reviewed-on: https://go-review.googlesource.com/22722
Reviewed-by: Ross Light <light@google.com>
2016-05-03 18:14:31 +00:00
Brad Fitzpatrick 20befd8baf cmd/coordinator: write the build result datastore record in the right spot
Change-Id: I4019eac9b79b136309c69f63e604e0be444abd71
Reviewed-on: https://go-review.googlesource.com/22713
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-03 00:26:38 +00:00
Brad Fitzpatrick a3a0034248 cmd/coordinator: ignore the grpc-review repo
Change-Id: I7bb29e16cf07a147cf4437ce72936fb2eec04cb3
Reviewed-on: https://go-review.googlesource.com/22710
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-02 23:54:59 +00:00
Brad Fitzpatrick cce701d6a8 cmd/coordinator: log builds to datastore
Updates golang/go#12669

Change-Id: I62a245492081519ba02776366d633e31d74a3c76
Reviewed-on: https://go-review.googlesource.com/22705
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-02 23:35:27 +00:00
Andrew Gerrand 4a8e4fe220 app: set Strict-Transport-Security header
Change-Id: I1f8827a69060f29fbdbd32711869c2080746d275
Reviewed-on: https://go-review.googlesource.com/22704
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-02 17:43:52 +00:00
Brad Fitzpatrick 176f1071ee cmd/coordinator: remove redundant startTime global variable
We already had processStartTime.

Change-Id: I3b1522d9b365ad06af19518354d2bde9af766f4c
Reviewed-on: https://go-review.googlesource.com/22703
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-02 17:32:12 +00:00
Brad Fitzpatrick 51b13f2f04 cmd/coordinator: start of logging
For now, just log the process's start time and alive/heartbeat time.

Updates golang/go#12669

Change-Id: I4dd28f7ba761b5487f86a4cdb0f721b2aeb4fa57
Reviewed-on: https://go-review.googlesource.com/22701
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-02 17:28:01 +00:00
Andrew Gerrand 04c53475f9 app: use app.yaml directive to redirect to HTTPS
Change-Id: I31988e47ade8a84780fc1c978cb3ce9fdb734207
Reviewed-on: https://go-review.googlesource.com/22449
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-27 01:12:33 +00:00
Andrew Gerrand eb0920e9bb app: redirect from HTTP to HTTPS
Change-Id: Id23820cb19f509824c63cb4aeba7a7cd276b4bdf
Reviewed-on: https://go-review.googlesource.com/22368
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-22 04:17:36 +00:00