diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-28 13:45:01 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-28 13:45:01 +0100 |
commit | b1eeca839e80934db2d064ed003602f20432fb1a (patch) | |
tree | 5184854243674331d81acbf421be4122c0b4688e | |
parent | 71c99f1528670b16812dfde19b6446e35655a516 (diff) | |
download | deployment-b1eeca839e80934db2d064ed003602f20432fb1a.tar.gz deployment-b1eeca839e80934db2d064ed003602f20432fb1a.tar.bz2 deployment-b1eeca839e80934db2d064ed003602f20432fb1a.zip |
Reverting pulling deployment code beforehand. It's not
possible to make $HOME the cwd without creating a new worker.
-rw-r--r-- | buildbot/master.cfg | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg index 68ad76e..6e4cf94 100644 --- 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"})) |