[Buildbot-devel] how can a slave build each revision separately, or do "background work"
knight at baldmt.com
Tue Dec 22 22:02:25 UTC 2009
I'm looking for some advice on how best to accomplish the following:
1) Have a slave build+test each revision separately, even if multiple
revisions have been checked in while the previous run was in progress.
(Yes, in theory this could cause the slave to never catch up. In practice,
the rate of change is low enough that this should never happen, and we'd
deal with it manually in the unlikely event it did.) Barring an oversight
on my part, I'm trying to thread my way through the life of a BuildRequest
to learn which classes need to be affected to implement this.
2) Allow a slave to run lower-priority work in between checkins. In this
case, we want the slave to use idle cycles to run timings on earlier
revisions that predate our use of buildbot, but then prioritize new checkins
as they become available. At first glance, this looks like a scheduler
subclass probably takes care of most of it.
Any pointers appreciated (especially if I just overlooked documentation
describing easy ways to do these... :-)).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel