commit a65230432af6970764f290bf19bca9d389d0447a
parent eff108f616d4f053eaa4950022e4ff2ad06866c8
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 16 Apr 2019 13:55:03 +0200
env
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
@@ -9,7 +9,12 @@ if test "stable" = ${BRANCH}; then
fi
+##
+# If the value stays as 'dummy', then the color switch
+# is ignored and the active one between blue/green will
+# receive the connections.
nonactive="dummy"
+
if test ${DEPLOYMENT} = "test"; then
active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
nonactive="blue"
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -358,7 +358,8 @@ DEMO_SERVICES_CHECKER_FACTORY.addStep(ShellCommand(
command=["./checks.sh"],
workdir="build/buildbot",
haltOnFailure=True,
- env={"TALER_DEPLOYMENT": "demo"}))
+ # Needed to test the 'demo' deployment.
+ env={"BRANCH": "stable"}))
DEBUG_BUILDER = util.BuilderConfig(
name="debug-builder",