commit c1c13d4863de56c5dd9114bd59e2339e78b1574d
parent 41f48c26512c088a08f04d73c416336ab3b41406
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 27 Nov 2017 12:17:49 +0100
trying with a separate directory for build stamps
Diffstat:
3 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/bin/taler-deployment-build b/bin/taler-deployment-build
@@ -20,11 +20,14 @@ fi
source $HOME/activate
-cd $HOME/deployment/taler-build
-./invalidate.sh
+# Check changes
+$HOME/deployment/taler-build/invalidate.sh
+# Build
+MAKE="make -f $HOME/deployment/taler-build/Makefile"
+cd $HOME/build_stamps
if test ${1:-notgiven} = "--coverage"; then
- make lcov
+ $MAKE lcov
else
- make
+ $MAKE
fi
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -161,8 +161,6 @@ 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",
@@ -177,8 +175,6 @@ LINT_FACTORY.addStep(ShellCommand(
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",
@@ -195,8 +191,6 @@ LCOV_FACTORY.addStep(ShellCommand(
"TALER_CHECKDB": "postgresql:///talercheck?host=/home/${USER}/sockets"}))
SWITCHER_FACTORY = util.BuildFactory()
-SWITCHER_FACTORY.addStep(git_step(
- 'git://git.taler.net/deployment.git'))
SWITCHER_FACTORY.addStep(ShellCommand(
name="build",
description="Building inactive blue-green party.",
diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh
@@ -12,6 +12,6 @@ for component in $components ; do
git fetch
if git status -sb | grep behind; then
echo "invalidating $component"
- rm -f $HOME/deployment/taler-build/$component-stamp
+ rm -f $HOME/build_stamps/$component-stamp
fi
done