build/cmd/perfrun
Heschi Kreinick f5bac79390 buildlet: create gRPC client
As a first step to port relui over to the gRPC API, create a gRPC client
implementation. This should be suitable for use in the gomote command,
but I don't want to conflict with the giant stack in flight. Also add a
GRPCClient function to iapclient for convenience.

The gomote service was missing working directory information; added it.

I also did some refactoring/cleanup.
- The Client interface is used internally to the coordinator, and as
  such it has a lot of internal functions. The set used by remote
  clients is much more reasonable. Separate it out into a new
  RemoteClient interface.
- AddCloseFn was only used in one place. Delete it.
- DestroyVM was completely unused. Delete it.

For golang/go#54344.

Change-Id: I77344a8c27076e53f565e9af56f8d365ac89b487
Reviewed-on: https://go-review.googlesource.com/c/build/+/422095
Auto-Submit: Heschi Kreinick <heschi@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Heschi Kreinick <heschi@google.com>
2022-08-09 20:49:10 +00:00
..
README.md all: makes OSS related cleanup 2022-06-02 17:50:21 +00:00
perfrun.go buildlet: create gRPC client 2022-08-09 20:49:10 +00:00

README.md

Go Reference

golang.org/x/build/cmd/perfrun

perfrun interacts with the buildlet coordinator to run the go1 benchmarks on a buildlet follower for the most recent successful commits according to the build dashboard.