commit 71ff679e02f5ddfd4999f536c7710e2a78d8323c
parent 5e25874c195b1dcdcee4315f39b595d22e895a4e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 27 Nov 2019 00:08:54 +0100
coverage worker
Diffstat:
2 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/bin/taler-deployment b/bin/taler-deployment
@@ -532,6 +532,10 @@ def bootstrap() -> None:
create_bb_worker("bb-worker", "auditor-worker", "auditor-pass")
elif envname == "demo-checker":
create_bb_worker("bb-worker", "demo-worker", "demo-pass")
+ elif envname == "coverage":
+ create_bb_worker("bb-worker", "lcov-worker", "lcov-pass")
+
+
print("Bootstrap finished.")
print("Please source the ~/activate file before proceeding.")
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -2,7 +2,8 @@ import re
from getpass import getuser
from buildbot.steps.source.git import Git
from buildbot.steps.shell import ShellCommand
-from buildbot.plugins import (reporters, worker, changes, schedulers, util)
+from buildbot.plugins import (reporters, worker,
+ changes, schedulers, util)
# This is a sample buildmaster config file. It must be
# installed as 'master.cfg' in your buildmaster's base
@@ -421,22 +422,9 @@ LCOV_FACTORY.addStep(
name="invalidation",
description="Invalidating timestamps",
descriptionDone="timestamps invalidated",
- command=["./invalidate.sh"],
- workdir="../../deployment/taler-build",
- env={"TALER_ENV_NAME": "not-test"}
- )
-) # work-around 'set -eu'
-LCOV_FACTORY.addStep(
- ShellCommand(
- name="build",
- description="Compiling..",
- descriptionDone="lcov files generated",
- command=["make", "lcov"],
- workdir="../../deployment/taler-build",
- env={
- "PATH": "${HOME}/local/bin:${PATH}",
- "TALER_CHECKDB": "postgres:///talercheck-${USER}"
- }
+ command=["./build.sh"],
+ workdir="../../deployment/buildbot",
+ haltOnFailure=True
)
)