commit b1eeca839e80934db2d064ed003602f20432fb1a
parent 71c99f1528670b16812dfde19b6446e35655a516
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 28 Nov 2017 13:45:01 +0100
Reverting pulling deployment code beforehand. It's not
possible to make $HOME the cwd without creating a new worker.
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -161,32 +161,36 @@ DEBUG_FACTORY.addStep(ShellCommand(
command=["echo", "I'm here!"]))
LINT_FACTORY = util.BuildFactory()
+LINT_FACTORY.addStep(git_step(
+ "git://git.taler.net/deployment.git"))
LINT_FACTORY.addStep(ShellCommand(
name="invalidation",
description="checking changes",
descriptionDone="changes checked",
command=["./invalidate.sh", "--lint"],
- workdir="${HOME}/deployment/taler-build"))
+ workdir="build/taler-build"))
LINT_FACTORY.addStep(ShellCommand(
name="linting",
description="Linting..",
descriptionDone="Linted",
command=["make", "-f", "MakefileLint"],
- workdir="${HOME}/deployment/taler-build"))
+ workdir="build/taler-build"))
LCOV_FACTORY = util.BuildFactory()
+LCOV_FACTORY.addStep(git_step(
+ "git://git.taler.net/deployment.git"))
LCOV_FACTORY.addStep(ShellCommand(
name="invalidation",
description="Invalidating timestamps",
descriptionDone="timestamps invalidated",
command=["./invalidate.sh"],
- workdir="${HOME}/deployment/taler-build"))
+ workdir="build/taler-build"))
LCOV_FACTORY.addStep(ShellCommand(
name="build",
description="Compiling..",
descriptionDone="lcov files generated",
command=["make", "lcov"],
- workdir="${HOME}/taler-build",
+ workdir="build/taler-build",
env={"PATH": "${HOME}/local/bin:${PATH}",
"TALER_CHECKDB": "postgresql:///talercheck?host=/home/${USER}/sockets"}))