taler-deployment

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

commit a24c8a50a67f7d5a95bdee0882328c268e7b3fdf
parent 1f2520942faa839d5b99b5b96afcc83a8b653e6b
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 16 Apr 2019 23:39:32 +0200

+verbose.

Diffstat:
Mbuildbot/master.cfg | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -404,14 +404,18 @@ DEMO_SERVICES_CHECKER_BUILDER = util.BuilderConfig( def pick_inactive_color(builder, workers_list, build_request): f = open("/home/test/nonactive", "r") if not f: - print("'test' doesn't specify the nonactive color, abort!") + print("'test' doesn't specify the nonactive color, abort") + f.close() return None nonactive = f.readline().rstrip() print("Found nonactive color: %s" % str(nonactive)) for worker in workers_list: if nonactive == worker.worker.workername: + f.close() + print("Scheduling worker: %s" % str(worker)) return worker - + print("Couldn't find the right worker, aborting.") + f.close() return None