build/cmd/coordinator/protos
Alexander Rakoczy b077d0cce9 cmd/coordinator,cmd/retrybuilds: add wipe API to coordinator
As part of our migration to combine codebases of the Build Dashboard and
the Coordinator, the first step is to start calling a Coordinator API
for wiping release status of failed builds. This adds a gRPC API to the
coordinator, listening on the same port as the HTTPS listeners.

The Coordinator API in this implementation simply validates and forwards
a request to the dashboard API.

This change also updates cmd/retrybuilds to optionally use the
Coordinator gRPC API for wiping.

Tested locally using the live Dashboard API.

Updates golang/go#34744

Change-Id: I4b34b064625193eb11a280565d701605064a8443
Reviewed-on: https://go-review.googlesource.com/c/build/+/219120
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-02-20 15:37:57 +00:00
..
coordinator.pb.go cmd/coordinator,cmd/retrybuilds: add wipe API to coordinator 2020-02-20 15:37:57 +00:00
coordinator.proto cmd/coordinator,cmd/retrybuilds: add wipe API to coordinator 2020-02-20 15:37:57 +00:00
protos.go cmd/coordinator,cmd/retrybuilds: add wipe API to coordinator 2020-02-20 15:37:57 +00:00