build/cmd/retrybuilds
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
..
README.md all: add README.md files where missing, and tool to keep them updated 2017-08-02 22:17:52 +00:00
retrybuilds.go cmd/coordinator,cmd/retrybuilds: add wipe API to coordinator 2020-02-20 15:37:57 +00:00

README.md

GoDoc

golang.org/x/build/cmd/retrybuilds

The retrybuilds command clears build failures from the build.golang.org dashboard to force them to be rebuilt.