commit 83cbcc9db600eef6cbbeb6f93c984851ec6efbe8 parent 60562a2beae6457554f964f5ec5a764f70040460 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 6 Sep 2019 14:14:24 +0200 import buildbot master creator script Diffstat:
| A | buildbot/make-buildbot-master.sh | | | 20 | ++++++++++++++++++++ |
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/buildbot/make-buildbot-master.sh b/buildbot/make-buildbot-master.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +if ! test "buildbot-master" = $(whoami); then + echo Only run as the 'buildbot-master' user. + exit 1 +fi + +cd +if test -d ./master; then + echo 'master' base directory exists, not touching it and exiting. + exit 0 +fi + +if ! test -d $HOME/deployment; then + git clone git://git.taler.net/deployment.git +fi + +buildbot create-master master +cd master +ln -s ../deployment/buildbot/master.cfg