commit 2fd2c4e282faf3a906df049026138a4b935ad001
parent 7022c86a13dc55b9b1fa6dd1419d074a29be279c
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 8 Jun 2018 14:11:35 +0200
BB regenerated config upon every build.
Diffstat:
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -241,13 +241,39 @@ TIP_RESERVE_TOPPER_FACTORY.addStep(ShellCommand(
SWITCHER_FACTORY = util.BuildFactory()
SWITCHER_FACTORY.addStep(git_step(
"git://git.taler.net/deployment.git"))
+
+SWITCHER_FACTORY.addStep(ShellCommand(
+ name="build",
+ description="Generating configuration file.",
+ descriptionDone="Configuration file generated.",
+ command=["./config.sh"],
+ workdir="build/buildbot",
+ haltOnFailure=True))
+
SWITCHER_FACTORY.addStep(ShellCommand(
name="build",
description="Building inactive blue-green party.",
- descriptionDone="Compile.",
+ descriptionDone="Inactive party got built.",
command=["./build.sh"],
workdir="build/buildbot",
haltOnFailure=True))
+
+SWITCHER_FACTORY.addStep(ShellCommand(
+ name="build",
+ description="Generating exchange keys, and auditor-sign them.",
+ descriptionDone="Exchange keys generated, and auditor-signed.",
+ command=["./keys.sh"],
+ workdir="build/buildbot",
+ haltOnFailure=True))
+
+SWITCHER_FACTORY.addStep(ShellCommand(
+ name="build",
+ description="Signing exchange wire details.",
+ descriptionDone="Exchange wire details got signed.",
+ command=["./sign.sh"],
+ workdir="build/buildbot",
+ haltOnFailure=True))
+
SWITCHER_FACTORY.addStep(ShellCommand(
name="restart services",
description="Restarting inactive blue-green party.",
@@ -255,6 +281,7 @@ SWITCHER_FACTORY.addStep(ShellCommand(
command=["./restart.sh"],
workdir="build/buildbot",
haltOnFailure=True))
+
SWITCHER_FACTORY.addStep(ShellCommand(
name="check services correctly restarted",
description="Checking services are correctly restarted.",
@@ -262,6 +289,7 @@ SWITCHER_FACTORY.addStep(ShellCommand(
command=["./checks.sh"],
workdir="build/buildbot",
haltOnFailure=True))
+
SWITCHER_FACTORY.addStep(ShellCommand(
name="switch active party",
description="Switch to the party which was inactive.",