taler-deployment

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

commit 103d02d10f4e381b77df291235f0a3c5a59ac61a
parent a627608971af929e11b4452ba22b92974adfe9f8
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed, 17 Apr 2019 15:58:36 +0200

name maps

Diffstat:
Mbuildbot/master.cfg | 14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -37,10 +37,6 @@ c["workers"] = [ worker.Worker("auditor-worker-green", "auditor-green-pass"), worker.Worker("auditor-worker-blue", "auditor-blue-pass")] -# Maps unix users (typically found on Gv) to worker names. -NAMEMAP = {"test-green": "builder-worker-green", - "test-blue": "builder-worker-blue"} - # 'protocols' contains information about protocols which master # will use for communicating with workers. You must define at # least 'port' option that workers could connect to your master @@ -397,6 +393,11 @@ LCOV_BUILDER = util.BuilderConfig( # blue and green and schedules it as the next worker for producing # auditor reports. def pick_active_color(builder, workers_list, build_request): + + # Maps unix users (typically found on Gv) to worker names. + NAMEMAP = {"test-green": "auditor-worker-green", + "test-blue": "auditor-worker-blue"} + f = open("/home/test/active", "r") if not f: print("'test' doesn't specify the active color, abort") @@ -439,6 +440,11 @@ DEMO_SERVICES_CHECKER_BUILDER = util.BuilderConfig( # blue and green and schedules it as the next worker for building # Taler. def pick_inactive_color(builder, workers_list, build_request): + + # Maps unix users (typically found on Gv) to worker names. + NAMEMAP = {"test-green": "builder-worker-green", + "test-blue": "builder-worker-blue"} + f = open("/home/test/nonactive", "r") if not f: print("'test' doesn't specify the nonactive color, abort")