diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-08 14:11:35 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-08 14:11:35 +0200 |
commit | 2fd2c4e282faf3a906df049026138a4b935ad001 (patch) | |
tree | 03e64267ac991beac0fe28bff8775509ba6ad52a | |
parent | 7022c86a13dc55b9b1fa6dd1419d074a29be279c (diff) | |
download | deployment-2fd2c4e282faf3a906df049026138a4b935ad001.tar.gz deployment-2fd2c4e282faf3a906df049026138a4b935ad001.tar.bz2 deployment-2fd2c4e282faf3a906df049026138a4b935ad001.zip |
BB regenerated config upon every build.
-rw-r--r-- | buildbot/master.cfg | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg index 00bc91b..4c64999 100644 --- 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.", |