taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 9b9193d38b6cfe52cd6e9da275c35ae0ff6bc3b8
parent 1442a05fdbad965792df6e3480a0a781aae53697
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 19 Jun 2018 14:05:23 +0200

Lockfile-based Buildbot pausing mechanism.

Diffstat:
Mbuildbot/build.sh | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/buildbot/build.sh b/buildbot/build.sh @@ -8,4 +8,11 @@ if test $active = "test-blue"; then nonactive="test-green" fi +PAUSE_LOCKFILE=/tmp/buildbot_pause.lock + +if [ -f $PAUSE_LOCKFILE ]; then +echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume." +exit 0 +fi + sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-build'