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

1830 Коммитов

Автор SHA1 Сообщение Дата
Yuval Pavel Zholkover 73d272b047 builders: skip reboot test on freebsd-arm
Change-Id: I77822252a73d61c240c503bc424f03e5cfc6a95a
Reviewed-on: https://go-review.googlesource.com/c/build/+/168064
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-20 21:02:56 +00:00
Brad Fitzpatrick ea23d21e3b cmd/buildlet: add aix-ppc64 to list of targets in Makefile
Change-Id: Ic9a50a9850f59911ad78f98170b3534b16d13302
Reviewed-on: https://go-review.googlesource.com/c/build/+/168437
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-20 16:26:45 +00:00
Benny Siegert ebee6e9d80 dashboard: add netbsd-arm-bsiegert
This seems to be the last builder still using the old builder
binary and not buildlet. It needs an entry in here to switch
to buildlet and stage0.

Change-Id: If2fdd2298ab88d56b6850061050caf27ca7c8983
Reviewed-on: https://go-review.googlesource.com/c/build/+/168061
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-19 16:29:19 +00:00
Dmitri Shuralyov 3f24812763 cmd/coordinator: redirect from http to https in production
By now, there's no more need to be able to serve requests over http
instead of https, so start always redirecting to https instead.

Fixes golang/go#27870

Change-Id: I257ce732597839dc511c3e9ce440340494c62191
Reviewed-on: https://go-review.googlesource.com/c/build/+/168138
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-18 17:59:50 +00:00
Dmitri Shuralyov 4567d7f4dc cmd/coordinator: support building and testing on macOS
It's convenient to be able to build and run tests for cmd/coordinator
on macOS, in addition to Linux. Add the build tags and make appropriate
changes to the README to document the level of support.

I've tested running locally on macOS and the limited basic functionality
seems to work okay. If there's something specific that doesn't work on
macOS but works on Linux, we can update the README accordingly.

Start using go run instead of go install to combine two commands into
one. If someone prefers to use go install and run the installed binary,
they can infer the instructions to do so from the go run command.

Change-Id: I823b21a8c790c77045638b53c204ce10b60f40b2
Reviewed-on: https://go-review.googlesource.com/c/build/+/168137
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-18 17:58:24 +00:00
Brad Fitzpatrick 8a071d4c25 dashboard: don't test subrepos on both macOS 10.11 and 10.12
Just the latter. Reduce resource usage on limited Macs.

Change-Id: Ia282627235c39d74adc9e059d8f39ed8e770473a
Reviewed-on: https://go-review.googlesource.com/c/build/+/167999
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-18 17:42:35 +00:00
Brad Fitzpatrick 5a66f4e585 builders: skip the reboot test in more places, especially on slower builders
It's not important to run the new "reboot" bootstrapping test on all
builders; a few is fine. Skip it on plan9-arm, etc, and on trybots that aren't
super widely sharded.

Change-Id: I35d5408eb5e034f42df5976f2b9b7f7d478d580a
Reviewed-on: https://go-review.googlesource.com/c/build/+/167998
Reviewed-by: David du Colombier <0intro@gmail.com>
2019-03-18 13:56:44 +00:00
Brad Fitzpatrick 80dad79fda crfs/stargz: add start of package
Basic API, format, tests.

Good enough checkpoint.

Updates golang/go#30829

Change-Id: Iaec5b205314d64fca5056f6b19a7bae52e5cef94
Reviewed-on: https://go-review.googlesource.com/c/build/+/167769
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-15 23:56:14 +00:00
Brad Fitzpatrick c5eff76d06 cmd/buildlet: add netbsd-386 and netbsd-arm to Makefile
Change-Id: Id16f34487de8db874d7b087e2fddda71a92bdf15
Reviewed-on: https://go-review.googlesource.com/c/build/+/167764
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-15 15:22:54 +00:00
Brad Fitzpatrick 3ce8d48fad crfs: fix a typo and misleading detail about TAR files
Change-Id: I8e01a5087a61694d932dcf594351845d80473258
Reviewed-on: https://go-review.googlesource.com/c/build/+/167758
Reviewed-by: Maisem Ali <maisem@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-14 21:54:53 +00:00
Bryan C. Mills 097ea78282 vcs-test: add a /insecure handler that redirects to plain HTTP
Updates golang/go#29591

Change-Id: I5c9899a475ba7521b49c3eef2679c104df0ae0f7
Reviewed-on: https://go-review.googlesource.com/c/build/+/167710
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-14 21:12:52 +00:00
Brad Fitzpatrick 83c6b6a7a2 dashboard: add some "exp" trybots back, clean up some config
Fixes golang/go#30781

Change-Id: I2672ca2949837c3cfe8fa6bd8011d1b9b43cca03
Reviewed-on: https://go-review.googlesource.com/c/build/+/167640
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-14 20:56:48 +00:00
Brad Fitzpatrick 61ce0be975 dashboard: increase timeout scale for longtest builders, add more CPU
Updates golang/go#25886

Change-Id: I5168e291ab77cbd3843bdc39e319a68dfa65aedd
Reviewed-on: https://go-review.googlesource.com/c/build/+/167638
Reviewed-by: Russ Cox <rsc@golang.org>
2019-03-14 18:00:18 +00:00
Brad Fitzpatrick db2b914331 dashboard: skip the "reboot" dist test on NetBSD due to disk space issues
The NetBSD builders apparently have a tiny filesystem.

And this test doesn't need to be run everywhere. A few builders is enough.

Fixes golang/go#30839

Change-Id: I60df10173112ef9957c0e4cd6d414a4c5efaa940
Reviewed-on: https://go-review.googlesource.com/c/build/+/167637
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-14 16:08:15 +00:00
Dmitri Shuralyov 5284462c4b go.mod: drop indirect requirement of bad grpc version
Version v1.16.0 of the grpc module is known to be bad (because it
doesn't include the fix from grpc/grpc-go#2393), so we don't want
to require it, even indirectly.

Commands run:

	go mod edit -droprequire=google.golang.org/grpc
	go mod tidy
	go test ./...

Updates golang/go#30833

Change-Id: I549dd5276ae19aa89c18cf2e9c981e81b8ffdd11
Reviewed-on: https://go-review.googlesource.com/c/build/+/167597
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-14 13:38:21 +00:00
Brad Fitzpatrick 2deca50d97 crfs: start of a README / design doc of sorts
Updates golang/go#30829

Change-Id: I8790dfcd30e3fb4d68b6e4cb9f8baf44c45d2cd6
Reviewed-on: https://go-review.googlesource.com/c/build/+/167392
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-14 04:47:05 +00:00
Dmitri Shuralyov 3bfcc9bf28 maintner/cmd/maintserve: require golang.org/x/build@latest
Now that a pseudo-version of golang.org/x/build module with maintserve
carved out exists, the module golang.org/x/build/maintner/cmd/maintserve
can depend on it. Do so now.

This is analogous to CL 166857.

Updates golang/go#29935

Change-Id: I661f32336ede26fde5581527959d31d164a00b63
Reviewed-on: https://go-review.googlesource.com/c/build/+/167463
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-13 23:59:55 +00:00
Dmitri Shuralyov 6d820572de maintner/cmd/maintserve: carve out into a separate module
This change creates a new module with the module path
golang.org/x/build/maintner/cmd/maintserve, and moves the maintserve
command into it. This is done by adding a go.mod file in the
maintner/cmd/maintserve directory. As a result, the maintserve command
and its dependencies are removed from this and later pseudo-versions of
the golang.org/x/build module.

This is similar to how the h2demo command was carved out into a separate
module in CL 162822.

The motivation for doing this is that the maintserve command requires a
large number of dependencies for its own use, that no other package in
x/build needs. Even though authors of library modules should not be
requiring x/build, it still happens (see golang/go#29935). So, improve
the situation by moving maintserve into a module separate from x/build,
which in turn significantly reduces the dependencies in x/build.

Updates golang/go#29935

Change-Id: Ic64da32be142fedf6475a11fea787cdfe245e0ce
Reviewed-on: https://go-review.googlesource.com/c/build/+/167461
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-13 23:40:14 +00:00
Tobias Klauser b7b66938fc dashboard: require at least Go 1.12 for aix builder
Fixes golang/go#30799

Change-Id: I0b3b53b715e2dc00f10548f74443224190003818
Reviewed-on: https://go-review.googlesource.com/c/build/+/167357
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-13 23:16:29 +00:00
Brad Fitzpatrick 60407a3c83 cmd/coordinator: run release branch subrepo trybots on corresponding Go branch
No tests because this part of the coordinator hasn't been refactored
for testability yet. (Working builders for the x/build repo are new
and this code hasn't been historically unit tested.) We're getting
there, but not in this CL.

Fixes golang/go#28891

Change-Id: Iad718a98e42fec7de09f5d77e6c957dca97fc0a3
Reviewed-on: https://go-review.googlesource.com/c/build/+/167382
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-13 20:28:23 +00:00
Brad Fitzpatrick 1b471b8bf2 dashboard: set GOPROXY=off for the "go" repo to catch more network usage
Updates golang/go#30612
Updates golang/go#30760

Change-Id: I296f4f7a163c1bdd59e839229c0961b21f26da89
Reviewed-on: https://go-review.googlesource.com/c/build/+/167039
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-13 04:47:41 +00:00
Brad Fitzpatrick 9e52fcec6f dashboard: add freebsd-386-12_0
Fixes golang/go#30787

Change-Id: I33d892fe56abcb797c76541fb3b3a12ffe69c598
Reviewed-on: https://go-review.googlesource.com/c/build/+/167199
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-13 01:11:04 +00:00
Brad Fitzpatrick f0bdfa832f app/appengine: remove gccgo, show little dot for untested x builder cells
And misc dead code & comment cleanups.

Change-Id: I52308376df8eb1bd1bf919365bd9c7b7848741a9
Reviewed-on: https://go-review.googlesource.com/c/build/+/167198
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-12 21:07:29 +00:00
Brad Fitzpatrick 13f1da938e dashboard: add some more mobile tests
They were already passing it turns out, but let's add these lines
specifically anyway.

Updates golang/go#30779

Change-Id: I00e0d3555f06b00098f63fc31bee58fd516c8a66
Reviewed-on: https://go-review.googlesource.com/c/build/+/167197
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Elias Naur <mail@eliasnaur.com>
2019-03-12 17:18:16 +00:00
Brad Fitzpatrick 8665028547 dashboard, cmd/coordinator: various fixes
* add support for longtest builders for subrepos.

* fix race builders for subrepos (they weren't passing the -race flag).

* adjust the policy for the js-wasm builders to build fewer subrepos
  where it'll never work or isn't worth it.

* fix the android emu builders which disappeared because an empty
  string was being passed to buildsRepoAtAll. In some places in the
  code an empty string for goBranch for the "go" repo meant the same
  as branch, but I forgot that in the new code, so an old caller was
  confusing the new config hooks. Rather than make all policy funcs be
  aware of both ways, the new code in this CL now maps an empty string
  to the same as the repo's branch when the repo == "go". Adds a test
  too.

* fix some outdated comments.

Change-Id: Icf3fb85e5542a4d314443b59d02517b306ef46b7
Reviewed-on: https://go-review.googlesource.com/c/build/+/166897
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-11 23:55:27 +00:00
Brad Fitzpatrick d26c7f7e66 maintner/slurpgit: delete README.md for otherwise empty directory
This README was an accident. I had an early prototype of maintner on
my local disk as slurpgit.go (before it was named maintner). Because
it was on my disk, when I ran x/build/update-readmes.go, it created
this directory.

Fixes golang/go#30744

Change-Id: I8a7807a8c7c0faaf31124cba1401d7c96b0bdbdc
Reviewed-on: https://go-review.googlesource.com/c/build/+/166878
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-11 19:01:00 +00:00
Dmitri Shuralyov ee834ec453 dashboard: set GO111MODULE=on for x/website tests
The x/website repository uses go.mod to specify precise versions of
its dependencies, and therefore requires the use of GO111MODULE=on
to build correctly. So set GO111MODULE=on when running its tests.

Change-Id: I4acc80fd207e257aa77dc0e296b1039c83fa3d2a
Reviewed-on: https://go-review.googlesource.com/c/build/+/165743
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-11 18:44:25 +00:00
Brad Fitzpatrick b8db43dd72 dashboard: update some build policy
Mostly some regressions (building too much) from the massive refactoring
in CL 166218, but also some minor changes. See test updates.

Change-Id: Ie30f51b425367f18a49764ac971e262131959bc8
Reviewed-on: https://go-review.googlesource.com/c/build/+/166557
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-11 05:16:52 +00:00
Brad Fitzpatrick 4067b185a9 cmd/buildlet: update Makefile's list of all targets
Remove the old compressed Darwin one that's no longer used and add
windows-arm.

Change-Id: I342d3132888090b80a9332d17307f1c6e7ef57c8
Reviewed-on: https://go-review.googlesource.com/c/build/+/166378
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-09 00:30:43 +00:00
Brad Fitzpatrick 756764c749 dashboard: unify post-submit & trybot policy in builders.go, not coordinator
This removes a bunch of TODOs about scattered policy and moves it all
into builders.go.

While here,

* add a bunch of tests
* unexport some things
* rename some things
* document some things
* adjust FreeBSD policy as function of branch (per Go 1.12 being
  last to support FreeBSD 10.x, and to unblock CL 165801)
* set GO_BUILDER_SET_GOPROXY=coordinator for reverse buildlets,
  which is necessary to remove the oauth2 & build special cases
  in the config
* change Elias Naur's mobile builder to how I think he wants it
  (he was fighting the old system)
* add $HOME on the Solaris smartos builder, which was missing &
  causing tests to fail lately
* make the (currently failing) longtest builder have GOPROXY set
* remove an allocation in version.ParseReleaseBranch

Fixes golang/go#9603
Updates golang/go#14594

Change-Id: I50a23ad7cdf478c95b14bee9b3931ba361baacfa
Reviewed-on: https://go-review.googlesource.com/c/build/+/166218
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-08 23:01:13 +00:00
Brad Fitzpatrick c78805dbab cmd/buildlet: add localhost proxy to farmer.golang.org's module proxy
Now that farmer.golang.org is an authenticated GOPROXY server (CL 165779),
this adds the unauthenticated localhost server on the buildlet that
adds the auth headers to farmer.golang.org.

The buildlet only does this if the build includes env
GO_BUILDER_SET_GOPROXY=coordinator, in which case it listens on an
emphemeral localhost port per exec and sets GOPROXY to an HTTP server
running on that port. This way we don't need to deal with any port
management or conflicts.

Updates golang/go#14594

Change-Id: Iae6d2deda9d5e88ab659d94aaccc43e01fcf4a7c
Reviewed-on: https://go-review.googlesource.com/c/build/+/165782
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-07 21:52:23 +00:00
Brad Fitzpatrick 8fa933c4bb all: remove config for arm64 linaro builders
They've been decomissioned for some months now. Our arm64 builders are
on packet.net these days.

Change-Id: Iaede189157e0298812b2971cdd63599f6096d73d
Reviewed-on: https://go-review.googlesource.com/c/build/+/165781
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-07 21:45:32 +00:00
Brad Fitzpatrick aef5298bdb cmd/coordinator: fix trybots by adding linux-only build tag
Broken by CL 165779 where I forgot we have trybots in x/build again.

Change-Id: I92df000cbeefe9ec11375cf22e260692ac188848
Reviewed-on: https://go-review.googlesource.com/c/build/+/166077
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-07 17:54:35 +00:00
Agniva De Sarker f5512279b7 devapp/owners: add agnivade as secondary to go/doc
To ease Robert's load and help out with a first pass review.

Change-Id: I3e0aa1fe7211429de4352358073870c4c8be7f8e
Reviewed-on: https://go-review.googlesource.com/c/build/+/166057
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-07 16:50:04 +00:00
Brad Fitzpatrick f4aa239541 cmd/coordinator: fix authentication to not require a user token
Buildlets have regular builder tokens, not "user-" prefixed ones. So
don't use the auth helper function. Just inline what we need in the
proxy handler.

Fix from testing CL 165779.

Updates golang/go#14594

Change-Id: Ie2d8d7a21f5660d24e929c932571b8df61895374
Reviewed-on: https://go-review.googlesource.com/c/build/+/165780
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-07 05:28:53 +00:00
Brad Fitzpatrick 2f7a8c1756 cmd/coordinator: add authenticated proxy to internal module proxy
So builders outside of GCE (Macs, etc) can use a module proxy. It will
be exposed to them via an unauthenticated localhost:3000 server that
adds the necessary authentication to this server.

This is a follow-up of work started in CL 157438.

Updates golang/go#14594

Change-Id: Id824b0ad3a0274048023cc72f8adad23d5f0ea29
Reviewed-on: https://go-review.googlesource.com/c/build/+/165779
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-07 04:13:19 +00:00
Elias Naur f3f1951878 cmd/coordinator: add missing BuildRepo check
BuildBranch reporting true does not imply BuildRepo returning true.

Change-Id: I6104aa3e606a95747181b2bf71a191fab080a3fd
Reviewed-on: https://go-review.googlesource.com/c/build/+/165760
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-07 00:10:29 +00:00
Bryan C. Mills 888c71d339 dashboard: set openbsd builders to use a Go 1.12 bootstrap toolchain
Updates golang/go#30633

Change-Id: I593a66e18f7546fdeaf7513e2a16bdf82a5fa5a8
Reviewed-on: https://go-review.googlesource.com/c/build/+/165747
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-06 20:51:01 +00:00
Bryan C. Mills cd1c6e10e5 cmd/coordinator: provide a GOPROXY for vetall and all subrepo builds
Also allow individual builders to override GOPROXY explicitly.

The vetall builder expects to build golang.org/x/tools from a specific
revision, and in module mode that implies that it needs access to all
of the module dependencies of that revision.

The individual subrepo builders may need a GOPROXY to resolve
dependencies when the default value of GO111MODULE changes to "on",
since they will enter module mode automatically even though they are
running within GOPATH.

Updates golang/go#30228

Change-Id: I40f6f2ea3c5ed05eaaaf3503ba97e6ccd3f20e1f
Reviewed-on: https://go-review.googlesource.com/c/build/+/165738
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-06 19:52:33 +00:00
Brad Fitzpatrick 366373d709 kubernetes/gke: skip API tests in short mode
Updates golang/go#30612

Change-Id: I752c57f8631025f1784951e701340d2c21ee277c
Reviewed-on: https://go-review.googlesource.com/c/build/+/165777
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-06 16:35:24 +00:00
Brad Fitzpatrick d7985a8e47 dashboard: enable outbound firewall on a few more Linux-based builders
Updates golang/go#30612

Change-Id: Id472e753043976b8671c15491b82bb57e3804d95
Reviewed-on: https://go-review.googlesource.com/c/build/+/165638
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-06 06:27:01 +00:00
Brad Fitzpatrick 404e52cb67 internal/gophers: update
Change-Id: I0ffda8c0b3520b481964bc809241169d510979c0
Reviewed-on: https://go-review.googlesource.com/c/build/+/165639
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-03-06 06:23:58 +00:00
Brad Fitzpatrick c889f4d03d env, buildlet, dashboard: support outbound firewalls for Linux
Updates golang/go#30612

Change-Id: Ib13a286d0944a7f4a13b9e93a01533693052858b
Reviewed-on: https://go-review.googlesource.com/c/build/+/165637
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-03-06 03:19:54 +00:00
Elias Naur 9ca6bb7d35 internal/gophers: update Elias Naur's email address
Change-Id: I864478957495289f13b56f3a47f1d6a5b5a23986
Reviewed-on: https://go-review.googlesource.com/c/build/+/165557
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-05 23:59:57 +00:00
Brad Fitzpatrick e2cb5a94fa internal/gophers: clean up some dup lines
Plenty remain.

Change-Id: Id695e908b5ca69e55387d3fbce2997f298e22cf7
Reviewed-on: https://go-review.googlesource.com/c/build/+/165419
Reviewed-by: Austin Clements <austin@google.com>
2019-03-05 19:57:01 +00:00
Elias Naur 578d283f50 dashboard: add x/mobile builder that runs on the host with device attached
When running GOOS=android go test <pkg>, the go tool will build the test(s)
for Android and run it through the exec wrapper. The exec wrappers takes care
of pushing the binary to the device and running it. That's how the normal
builder with an Android device attached works: setting GOOS=android.

Some x/mobile tests uses the Android SDK and then use an Android specific way
to run integration tests with Java. Those tests don't run on GOOS=android.

To solve that dilemma, define a special builder without GOOS=android set
and use it (only) for x/mobile.
Then, disable the GOOS=android builder for x/mobile to avoid wasting
device time better spent on the main repository.

Similar to CL 164740.

While here, correct two GOHOSTOS values and rename the existing
android builders to match the GOOS-GOARCH-suffix form.

Updates golang/go#30482

Change-Id: I3712584c62c3765d5605cccb642aa6f119826ae8
Reviewed-on: https://go-review.googlesource.com/c/build/+/164660
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-05 19:56:03 +00:00
Elias Naur 974e90a9fd env/android-amd64-emu: enable gomobile device tests
By adding gradle and Android build tools to PATH, setting ANDROID_HOME,
and adding the OpenAL headers to CGO_CFLAGS.

Change-Id: Ifeaa1b82f4108afc3787eee4449b3317185bbaec
Reviewed-on: https://go-review.googlesource.com/c/build/+/164658
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-05 19:55:29 +00:00
Katie Hockman 6a61a07ddb devapp/owners: add empijei as secondary owner for go/src/html/template
Change-Id: Ie47f0473f751d143587e6a067e4592556e148edd
Reviewed-on: https://go-review.googlesource.com/c/build/+/165437
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-05 18:25:55 +00:00
Dmitri Shuralyov f7b27185a0 cmd/gopherbot: support closing major release cherry-pick issues
The "close cherry pick issues" task has been working to close
cherry-pick issues when CLs are merged to release branches,
but only for issues with milestones like like 1.12.1, 1.12.2,
1.12.3, etc., not ones like 1.12. This change fixes that.

Output from a -dry-run run after this change:

	$ go run . -dry-run -only-run="close cherry pick issues"
	close-cherry-pick [dry-run]
		https://golang.org/issue/30314  x/tools/cmd/godoc: url flag's response recorder ignores body [1.12 backport]
	2019/02/21 14:00:43 [dry-run] would add comment to github.com/golang/go/issues/30314: Closed by merging 49d818b07734fb3230f2d00bc5d4453348348d24 to release-branch.go1.12.
	2019/02/21 14:00:43 [dry-run] would close golang.org/issue/30314
	2019/02/21 14:00:43 gopherbot ran in 217.391921ms

Fixes golang/go#30342

Change-Id: I93528e6cf724aba1894a7c640fbb75ec42bb2006
Reviewed-on: https://go-review.googlesource.com/c/163205
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-01 20:19:19 +00:00
Brad Fitzpatrick 2c2d26cc7b dashboard: add a GOOS=linux builder & trybot for Android
Updates golang/go#30482

Change-Id: I198dd40dfdb86b20e681c373141754680351e82f
Reviewed-on: https://go-review.googlesource.com/c/164740
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Elias Naur <mail@eliasnaur.com>
2019-03-01 18:44:32 +00:00