[Buildbot-devel] Buildbot 1.0: The Shimmering Vision

Mark Roddy markroddy at gmail.com
Thu Aug 14 16:05:07 UTC 2008


Multistep Lock

Essentially, I have one build slave with a database instance, and two
different builds that need the instance.  There are three steps in
each build that need a lock for the database: Install Schema, Run
Tests, Drop Schema.  I'd need to lock these steps as a whole, and not
lock the steps individually as this creates a race condition.  To work
around this I've been locking the entire build though this is a waste
as prior to these three steps there's about 15 mins of unit tests for
each build that could be executed simultaneously.  Note that if there
is a way to accomplish this already, please let me know.

-Mark




More information about the devel mailing list