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

2 Коммитов

Автор SHA1 Сообщение Дата
Alexander Rakoczy fa5c6e87e6 cmd/runqemubuildlet: add command to run qemu-based buildlets
runqemubuildlet runs a qemu-based buildlet in a loop. This will allow us
to add better monitoring to the command than with the current bash
script.

WaitOrStop was originally implemented for x/playground in
golang.org/cl/228438. It provides a safe way to terminate programs after
a timeout, or to forcibly terminate them after a grace period.

For golang/go#47018

Change-Id: I205c53554bdf287997d567d530581a93febea648
Reviewed-on: https://go-review.googlesource.com/c/build/+/334372
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-07-15 18:49:20 +00:00
Carlos Amedee b0ce0eb93a internal, internal/coordinator/pool: add a shared polling function
This adds a polling function that is tested and can be reused by
callers in the x/build repository. This was suggested in the review of
CL 247907. The polling function replaces the pollers used in the EC2 buildlet pool.

For golang/go#36841

Change-Id: I120ceb83e2740f0bdc5ee2423e0edd3ad727bf4b
Reviewed-on: https://go-review.googlesource.com/c/build/+/255358
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-10-01 17:30:59 +00:00