On Wed, Aug 08, 2018 at 06:50:01PM +0800, Po-Hsu Lin wrote:
> Add a script that can help us to update all SRU related git repositories on
> all of our jenkins server, and will capability to kill the test request
> handler to allow it respawn with cron jobs.
> Signed-off-by: Po-Hsu Lin <[hidden email]>
This is a fine idea in principle. A number of our other kmsgq
based services handle this via an aqpm message, often delivered to
a service specific admin interface. This allows us to pull the
source repositories on a cron job, and then on demand stop the
current runner at the end of its current instruction.
See the mainline-worker for an example of how we bind the admin port
there; though actually its naming is a bit substandard because it is
host specific and not host and service specific. I must fix that.