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

716 Коммитов

Автор SHA1 Сообщение Дата
Quentin Smith ee5416da7c devapp: add documentation for /stats and /stats/svg
Now that the stats dashboard is (mostly) working, link it from the
homepage.

Change-Id: I5fa1c2f241151d809c2d9a6cf8f664dda14cf8b3
Reviewed-on: https://go-review.googlesource.com/28975
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:53:02 +00:00
Quentin Smith 5936fd2fc1 devapp: allow plots of issues by release
Change-Id: Ief3aa379d2a535a3210b088a4841f1c88eadc641
Reviewed-on: https://go-review.googlesource.com/28974
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:53:00 +00:00
Quentin Smith a4e54186e3 devapp: graph closed issues
Change-Id: I7123845146af835c97b7cbc4eb5ac30985beb121
Reviewed-on: https://go-review.googlesource.com/28973
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:52:56 +00:00
Joel Sing 52f85a408c env/openbsd-amd64: update the openbsd build script to work with 6.0
Also ensure that expect exits non-zero on timeout.

Updates issue golang/go#16951

Change-Id: I7d182e4b9226b23a2c319f6fc2f849d34ec0b271
Reviewed-on: https://go-review.googlesource.com/28791
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-09 16:34:34 +00:00
Brad Fitzpatrick 7e04d807df cmd/coordinator: fix bug in gomote reverse proxying
ReverseProxy.ServeHTTP expects a server *http.Request.

The gomote proxy in the coordinator was making a client *http.Request
(which has different semantics for ContentLength depending on whether
it's client or server) and that was confusing the ReverseProxy code.

Set the next (server) request's ContentLength explicitly to the
original incoming Request.ContentLength. It was zero before, which
used to be safely okay, but not safe as of
https://go-review.googlesource.com/28412

Change-Id: I96d5c2b992d223372f9a01d268d3a419ccdc0d95
Reviewed-on: https://go-review.googlesource.com/28751
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-09-08 00:47:22 +00:00
Chris Broadfoot a485648640 app/build: make the favicon smaller
The favicon is hotlinked from golang.org/favicon.ico, which is now
larger.

Resize it to 16x16.

Fixes golang/go#17022.

Change-Id: Id74eb3bd8c855a042d033664359f04089d7857ff
Reviewed-on: https://go-review.googlesource.com/28770
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-08 00:43:54 +00:00
Brad Fitzpatrick 005df3ea93 cmd/makemac: add start of command/package to create OS X builder VMs
Currently it's just a package main. It might split in two later. It
might stop shelling out to govc and use the underlying API directly
too, but it's hairy.

Easier to work like this for now.

Updates golang/go#9495

Change-Id: I0d2e19abcb5114ab7fe2e2c543d14e50897d4cbb
Reviewed-on: https://go-review.googlesource.com/28584
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-07 23:53:04 +00:00
Chris Broadfoot 51046006d9 cmd/release: use Mac OS 10.11 builders for Mac releases
Change-Id: I0d82e62f5d294abcbc5225c9eb08aaf9422e6e1e
Reviewed-on: https://go-review.googlesource.com/28710
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-07 19:42:37 +00:00
Brad Fitzpatrick d83028eda5 cmd/coordinator, dashboard: switch to new VMWare-based OS X builders
Ignore the old darwin-{amd64,386}-10_10 builders. Don't give them an
error, but pretend they don't exist.

Also: switch trybots from OS X 10.10 to OS X 10.11, and re-enable
sharding. Let's hope for the best. See golang/go#12979.

This also enables subrepo tests for all OS X versions.

darwin-386-* is currently offline, pending some golang/go#17009

Updates golang/go#9495 (OS X virtualization)

Change-Id: I4d53a79087404b5e8051d1aff0c668a92625f442
Reviewed-on: https://go-review.googlesource.com/28583
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-07 05:47:55 +00:00
Brad Fitzpatrick d9c1e767ad cmd/buildlet: support auto-config from GO_BUILDER_ENV, for OS X builder VMs
The buildlet now checks the GO_BUILDER_ENV environment variable on
start-up and configures itself automatically if set to a known value.

The only currently-known value is "macstadium_vm", which means that
the buildlet will get its role & build key from the OS X version
(using "sw_vers") and the VMWare VM metadata, respectively.

Updates golang/go#9495

Change-Id: I9651b2d589fed46ff3d087a97acc0ea7171e2b24
Reviewed-on: https://go-review.googlesource.com/28572
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-07 04:06:25 +00:00
Brad Fitzpatrick 861725df83 cmd/upload: add --gzip flag
Change-Id: Iecfa82f2fb11cfe7f30b9e735a97ee659f0f23c1
Reviewed-on: https://go-review.googlesource.com/28571
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-07 04:06:09 +00:00
Brad Fitzpatrick 1c7521eabe env/darwin/macstadium: keep OS X buildlets looping for now
We'll revert them to snapshot later.

Updates golang/go#9495

Change-Id: I93e67598977484f0f3c7eecab07d76370e85fa1d
Reviewed-on: https://go-review.googlesource.com/28580
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-07 04:05:44 +00:00
Brad Fitzpatrick cc57e40da6 env/darwin/macstadium: more OS X setup notes for VMWare-based builders
Updates golang/go#9495

Change-Id: Id87d401d3f7e6fd464039cff4e58a5eda14424cf
Reviewed-on: https://go-review.googlesource.com/28570
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-09-06 21:06:07 +00:00
Brad Fitzpatrick f77da0ad78 darwin/macstadium: start of OS X VMWare builders
Updates golang/go#9495

Change-Id: Id01533737c14453aaa1bdccaa3124dd7e30a2465
Reviewed-on: https://go-review.googlesource.com/28218
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-04 17:40:54 +00:00
Brad Fitzpatrick c3f82bb7af cmd/coordinator: check more errors in github syncer
Updates golang/go#16944

Change-Id: Icc962a6800b01562f16831c1b3e07580467664c6
Reviewed-on: https://go-review.googlesource.com/28342
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2016-09-02 21:19:52 +00:00
Quentin Smith c575c788bc devapp, godash: plots of issue statistics
This adds a new project health dashboard, at /stats, that shows (for
now) 3 graphs of issue health.

Change-Id: Id9310924027a66af63e7a46b6a10a66917e01295
Reviewed-on: https://go-review.googlesource.com/28092
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-31 22:19:53 +00:00
Quentin Smith de87f1373f devapp, godash: collect issue statistics for plotting
A subsequent CL will add a dashboard for graphing project health; this
CL collects information about when issues are opened, closed, and
milestoned.

This also includes a refactor of the guts of devapp to make it more
modular.

It also adds logging to the godash library, which can be activated with
the -v flag in the godash command.

Change-Id: I54c1419435e496f5c0e2e7f4b966b3ee4de0b0a1
Reviewed-on: https://go-review.googlesource.com/28091
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-31 22:19:50 +00:00
Quentin Smith 2c672578ac devapp, godash: track issue last update time
Show the last update time for each issue on the issue dashboard.

Change-Id: I53a9d7592c11bb29a70ce358296f92f7285281b7
Reviewed-on: https://go-review.googlesource.com/28090
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-31 22:19:47 +00:00
Brad Fitzpatrick 9702f6a846 dashboard: add s390x cross-compile-only builder and release config
Also modifies cmd/release to wire it up.

Updates golang/go#16443

Change-Id: Ie80a224957f6f662d0aec0fd083e2a57e30436c4
Reviewed-on: https://go-review.googlesource.com/28172
Reviewed-by: Jessica Frazelle <me@jessfraz.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-31 21:16:19 +00:00
Jess Frazelle 06eb0ea774 build/s390x: curl the correct binary for stage0 for kube
Also some cleanup to remove systemd-isms from s390x Dockerfile.

Change-Id: I12e83a0f87337ee91f6d03b8f950fc6b18deddcb
Reviewed-on: https://go-review.googlesource.com/28174
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-30 21:09:05 +00:00
Brad Fitzpatrick 8b77adfa0f dashboard: add OS X 10.8 and 10.11 reverse builders
Updates golang/go#9495
Updates golang/go#12185

Change-Id: I84548011823334f0876636f8e9685e07238cafc4
Reviewed-on: https://go-review.googlesource.com/28171
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-30 19:57:18 +00:00
Jess Frazelle 58cb282fa9 env: add dockerfile for cross compiling go for s390x
Update golang/go#16443

Change-Id: I59edb7334ad6236981b96faddb8aeb564579435b
Reviewed-on: https://go-review.googlesource.com/27242
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-29 17:48:04 +00:00
Brad Fitzpatrick f3f5d65c20 cmd/retrybuilds: also mark empty-ish failures as flaky
Change-Id: Ia5fcbcc60c0933e94c5827f861c3161bfb10848d
Reviewed-on: https://go-review.googlesource.com/27654
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-08-24 16:06:06 +00:00
Brad Fitzpatrick 019ca5adc6 cmd/coordinator: don't treat 'dist test list' remote errors as temp errors
If the buildlet interface reports that "dist test list" was a
"remoteErr" (the remote side successfully ran the command and relayed
its exit status to us, and it was a failure), don't treat that as an
"exec error" (that is, a communication or temporary error).

This is what tied up all the builders forever the other night when the
arm and ppc64 builds were broken, unable to run the go binary, since
they were forever retrying and not making progress. They should've
reported an error to the dashboard.

This was the fix deployed last night.

Change-Id: I08ce15d87eac5374eb907d4a7c72278106ecaba9
Reviewed-on: https://go-review.googlesource.com/27655
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-08-24 16:05:50 +00:00
Brad Fitzpatrick 07d3e66536 cmd/coordinator: fix goroutine leak
Change-Id: I419ca18af306a73b3157a771b43034663a294d45
Reviewed-on: https://go-review.googlesource.com/27653
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-08-24 16:05:48 +00:00
Brad Fitzpatrick 44e74d53da buildlet: don't leak file descriptors to buildlets
Also, add count of fds and goroutines to the coordinator's status
page.

Change-Id: I857e609623cfa280716d5d079180d0e4021d0bac
Reviewed-on: https://go-review.googlesource.com/27550
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-08-23 03:38:21 +00:00
Quentin Smith 1615165ba8 godash: reset GoReleaseCycle on each refresh
Otherwise, it will never be incremented.

Change-Id: Ie58a6fb08970cb592f7dfc791a4578d394001f40
Reviewed-on: https://go-review.googlesource.com/27084
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-16 15:36:00 +00:00
Chris Broadfoot 8e9299f245 build: simplify some usages for Cloud auth
Change-Id: Ieacbf2082a7f2e807349104e8bbcce486ba18437
Reviewed-on: https://go-review.googlesource.com/25492
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-05 15:34:48 +00:00
Johan Euphrosine ce69a9ff6d kubernetes: add basic tests
Change-Id: Ifa4283bc60717229ccf858f5ff7f4119ccfb28d6
Reviewed-on: https://go-review.googlesource.com/25164
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-05 01:16:14 +00:00
Jonathan Amsterdam 30d377d8a3 build: update cloud client import paths and options
Change to cloud.google.com/go import paths, and new options package.

Change-Id: I2bb33fe0486d39407c445cafa88f8fc8e6504549
Reviewed-on: https://go-review.googlesource.com/25464
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-04 18:19:28 +00:00
Jonathan Amsterdam f2bf1fbac5 godash: adjust to breaking upstream change
Package github.com/google/go-github/github introduced some breaking
changes (changing Issue to *Issue and Milestone to *Milestone in some
return values).

Change-Id: I0eceb6247194fd2f27fe629dbdf70509e03ba86b
Reviewed-on: https://go-review.googlesource.com/25463
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-04 15:41:14 +00:00
Brad Fitzpatrick 0b53279658 cmd/release: Go requires Windows XP, not Windows 2000
Updates golang/go#16544

Change-Id: I96a7a657f2378b86db04f823c6b7a9918e1d502f
Reviewed-on: https://go-review.googlesource.com/25364
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2016-07-31 00:42:00 +00:00
Quentin Smith f9be75f8c6 godash: parse commit messages for R= lines
Fixes golang/go#16431

Change-Id: Icd8ff87050cfd011f8018ee0388a3f06e52c4a19
Reviewed-on: https://go-review.googlesource.com/25055
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2016-07-26 16:24:38 +00:00
Brad Fitzpatrick a457030ef8 cmd/builder: add flag for whether to build subrepos
Change-Id: I814c7770c0ad620c85b8e8f5fcf50420a7ce95c4
Reviewed-on: https://go-review.googlesource.com/25191
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-25 11:51:21 +00:00
Brad Fitzpatrick f2d63a86dd cmd/coordinator: more reliable and debuggable mirroring from gerrit to github
* Use ssh instead of https. (git-remote-https seems buggy and slow,
  unable to deal with 40k+ refs efficiently at all)

* Add /debug/watcher/<repo> status pages on the coordinator (proxying
  through to the watcher child process)

* more logging

* do mirroring of refs in batches, prioritizing heads and tags over
  refs/changes/* (although this is admittedly less useful now that we
  use ssh instead of https).

* update go-watcher-world from git 1.7 to git 2.8 (and Debian sid)

Fixes golang/go#16388

Change-Id: If3e2cf67afddd544892886a466938e8f46df8c95
Reviewed-on: https://go-review.googlesource.com/25110
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-07-21 17:11:12 +00:00
Andrew Gerrand fa4ab61ea3 cmd/coordinator: fix build
Change-Id: Ifcbac5a380ea7b0d88f40e9198125ff5301ff81e
Reviewed-on: https://go-review.googlesource.com/25100
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-20 18:23:29 +00:00
Andrew Gerrand 4f563087e0 cmd/coordinator: be less conservative logging branches
Rather than being clever by logging from the branch head to the merge
base, it should be fine to 'git log' everything from the branch head to
the beginning of time. This only happens when the watcher starts; after
that it does a log from the branch head to the last known head.

Fixes golang/go#16446

Change-Id: I055be9f255423444ee9b78030969290af6b4fe9f
Reviewed-on: https://go-review.googlesource.com/25086
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-20 17:41:35 +00:00
Brad Fitzpatrick 304492cf2e kuberentes: roll back recent Kubernetes client changes
https://golang.org/cl/21765 was not tested and not adequately reviewed
and doesn't work at all. Roll it back for now, since the blind fix in
https://golang.org/cl/21765 helped a bit but wasn't enough.

Change-Id: I781fac04d019fa5e6120ec398e13671b89d802c5
Reviewed-on: https://go-review.googlesource.com/25043
Reviewed-by: Johan Euphrosine <proppy@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-19 02:49:29 +00:00
Brad Fitzpatrick 49a940a217 kubernetes: fix response status code checking
Fixes bugs from https://golang.org/cl/21765

Change-Id: Ifb68b3a6e8b18d5ce61e8fc01b010cc55f3afa00
Reviewed-on: https://go-review.googlesource.com/25042
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-07-19 02:02:17 +00:00
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