]> git.evergreen-ils.org Git - OpenSRF.git/commit
Move the buildbot workdirs to a non-volatile directory
authorDan Scott <dan@coffeecode.net>
Wed, 25 May 2011 04:02:33 +0000 (00:02 -0400)
committerDan Scott <dan@coffeecode.net>
Wed, 25 May 2011 04:02:33 +0000 (00:02 -0400)
commit91b8790cc785036b2d48a10df3d8b8c2632f1f23
tree13884b758d55858dfd6a88df712bca8b62234b5f
parentb9a3ff2ca433f0863cae8e0bf6d5dc213450a534
Move the buildbot workdirs to a non-volatile directory

/tmp/ is a good directory for throwing temporary things,
but not so good for things you want to keep around for a relatively
long time. Especially on Ubuntu, which has a default policy of
deleting files in /tmp/ on reboot - meaning that the git repos
that form the basis of the repository have all of their files
wiped - greatly confusing the buildbot, which tries to run
'git reset --head' in an empty directory and fails miserably
in that situation.

So - ensure that WORKDIR is set to something that exists and
which will exist for the duration of your CI server, and you'll
be all right.

Signed-off-by: Dan Scott <dan@coffeecode.net>
examples/buildbot.cfg
src/perl/lib/OpenSRF/Utils/Cache.pm