[Buildbot-devel] suggestions for writing a "manual operation" build step?

Dustin J. Mitchell dustin at zmanda.com
Fri Dec 14 17:58:00 UTC 2007


On Dec 14, 2007 12:42 PM, Timothee Besset <ttimo at idsoftware.com> wrote:
> Well I basically need to have a human go in there to see if the first
> part failed really. So I couldn't really have one builder depend on the
> other. But your suggestion would get us going for now. I'd still rather
> have real steps so I can add/remove them in the sequence in between
> various automated steps more easily though.

You could make some kind of shell-based step that e.g., sends an email
to the operator, then sits in a loop waiting for some kind of signal
to proceed:

rm PROCEED
while ! test -f PROCEED; do
  sleep 5;
done
exit `cat PROCEED`

and add a shell alias or script that the operator can use to create
PROCEED, and fill it with the proper exit status.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list