[kteam-tools][PATCH] stable: add jenkins-git-update.sh

Andy Whitcroft apw at canonical.com
Wed Aug 8 12:51:45 UTC 2018


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 <po-hsu.lin at canonical.com>

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.

-apw




More information about the kernel-team mailing list