commit d048cb9ba2f4cfa8f474e8be873fefebffa98406
parent 8f77589b3db6ffbf0e8253f4fcfdecc378a6a082
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 13 Sep 2019 11:44:19 +0200
Bootstrap demo-checker worker
Diffstat:
2 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/bootstrap-demochecker b/bootstrap-demochecker
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# Bootstrap the Taler setup for the user account that
+# is currently logged in.
+
+# Generates a setup for a single user,
+# including a postgresql DB.
+
+set -eu
+
+if [[ "demo-checker" != $(whoami) ]] ; then
+ echo "Please run this script as the 'demo-checker' user"
+fi
+
+
+if [[ ! -d worker ]]; then
+ buildbot-worker create-worker --umask=0o22 ~/worker localhost:9989 demo-worker demo-pass
+fi
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -33,7 +33,7 @@ c["workers"] = [
worker.Worker("doc-worker", "doc-pass"),
##
- # This worker builds Websites: www/stage & docs-landing.
+ # This worker builds Websites: www and stage.
#
worker.Worker("sites-worker", "sites-pass"),
@@ -42,8 +42,8 @@ c["workers"] = [
worker.Worker("test-worker", "test-pass"),
##
- # This worker builds Taler for the 'green' color under
- # the 'test' deployment.
+ # FIXME: who runs this?
+ #
worker.Worker("topper-worker", "topper-pass"),
##
@@ -52,8 +52,7 @@ c["workers"] = [
worker.Worker("demo-worker", "demo-pass"),
##
- # This worker compiles the auditor reports for the "green"
- # deployment.
+ # This worker compiles the auditor reports for the test environment.
worker.Worker("test-auditor-worker", "test-auditor-pass"),
##
@@ -65,18 +64,6 @@ c["workers"] = [
# This worker compiles the auditor reports for the "blue"
# demo deployment.
worker.Worker("demo-auditor-worker-blue", "demo-auditor-blue-pass"),
-
- ##
- # The following workers were rarely/never used; excluding
- # for now.
-
- ##
- # Just a debug worker that responds to pushes made at help.git
- # worker.Worker("debug-worker", "debug-pass"),
-
- # worker.Worker("lint-worker", "lint-pass"),
- # worker.Worker("selenium-worker", "selenium-pass"),
- # worker.Worker("wallet-worker", "wallet-pass"),
]