[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: More responsabili
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: More responsability to bootstrap script |
Date: |
Thu, 05 Sep 2019 15:20:27 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 614fd08 More responsability to bootstrap script
614fd08 is described below
commit 614fd086cc21976731f6b71ba9cd5001882f3a4c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Sep 5 15:20:03 2019 +0200
More responsability to bootstrap script
---
bootstrap-taler | 34 ++++++++++++++++++++++++++++++++--
buildbot/master.cfg | 3 +--
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/bootstrap-taler b/bootstrap-taler
index 2b694a3..118af3f 100755
--- a/bootstrap-taler
+++ b/bootstrap-taler
@@ -28,14 +28,23 @@ if [ -z ${1+x} ]; then
fi
ENVNAME=$1
-CURRENCY=TESTKUDOS
-
source ~/envconfig
case $ENVNAME in
+
+ test)
+ CURRENCY=TESTKUDOS
+ ;;
+ internal)
+ CURRENCY=INTKUDOS
+ ;;
demo)
CURRENCY=KUDOS
;;
+ *)
+ echo Invalid Envname, please use test or internal or demo.
+ exit 1
+ ;;
esac
cd $HOME
@@ -105,3 +114,24 @@ mkdir -p "$HOME/taler-data"
ln -sf ../deployment/taler-build/Makefile stamps/
ln -sf ../deployment/taler-build/invalidate.sh stamps/
+
+if test "test" = $ENVNAME; then
+ if ! test "taler-test" = $(whoami); then
+ echo Please run as the 'taler-test' user.
+ exit 1
+ fi
+
+ if ! test -d $HOME/test_worker; then
+ echo Creating test_worker..
+ buildbot-worker create-worker $HOME/test_worker localhost:9989 test-worker
test-pass
+ else
+ echo test_worker already in place.
+ fi
+
+ if ! test -d $HOME/auditor_worker; then
+ echo Creating auditor_worker..
+ buildbot-worker create-worker $HOME/auditor_worker localhost:9989
test-auditor-worker auditor-pass
+ else
+ echo auditor_worker already in place.
+ fi
+fi
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 6fc91f8..03d67ae 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -38,8 +38,7 @@ c["workers"] = [
worker.Worker("sites-worker", "sites-pass"),
##
- # This worker builds Taler for the 'green' color under
- # the 'test' deployment.
+ # This worker builds Taler for the 'test' deployment.
worker.Worker("test-worker", "test-pass"),
##
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: More responsability to bootstrap script,
gnunet <=