[Buildbot-devel] Locking until buildbot idle?
Geoff Wedig
gwedig at d2.com
Thu May 10 16:34:44 UTC 2007
I would like to add a build which only runs if nothing else is running
on any of the slaves. My original thought had been to use a lock on all
steps, but I'm not quite sure it's possible. I do not want the slaves
to prevent each other from running, just prevent this new builder, which
is not running on any of the build slaves.
Can anybody see a way to achieve this? Everything I have tried so far
is flawed. slave locks don't work, because the build in question
doesn't run on any particular slave, and master locks would prevent the
slaves from running simultaneously.
One thing I considered is having a separate master lock for each build
on each slave, then having this new build have all of those locks.
Unfortunately, some of our builds can run on multiple slaves. Those
slaves would still be locked between each other, and since the lock is
done at the build/step, there's no way of preventing that that I can see.
So, anyone have any brilliant ideas? on how I can solve this? I really
need something that will only execute when nothing else is going on.
--
Geoff Wedig
Software Engineer
Digital Domain
More information about the devel
mailing list