taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit d433ed0c310d1738e69f07a8a62e5ec6199fbf1d
parent b7367c20207e5ebfef212fb18560c6cd9eee569f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 10 Jun 2019 00:26:28 +0200

first batch of #5759

Diffstat:
Mbuildbot/master.cfg | 14+++++---------
1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -390,15 +390,12 @@ TIP_RESERVE_TOPPER_FACTORY.addStep(ShellCommand( workdir="build/buildbot")) BUILD_FACTORY = util.BuildFactory() -BUILD_FACTORY.addStep(git_step( - "git://git.taler.net/deployment.git")) - BUILD_FACTORY.addStep(ShellCommand( name="build", description="Building inactive blue-green party.", descriptionDone="Inactive party got built.", command=["./build.sh"], - workdir="build/buildbot", + workdir="$HOME/deployment/buildbot", haltOnFailure=True)) BUILD_FACTORY.addStep(ShellCommand( @@ -406,7 +403,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Generating configuration file.", descriptionDone="Configuration file generated.", command=["./config.sh"], - workdir="build/buildbot", + workdir="$HOME/deployment/buildbot", haltOnFailure=True)) BUILD_FACTORY.addStep(ShellCommand( @@ -423,7 +420,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Signing exchange wire details.", descriptionDone="Exchange wire details got signed.", command=["./sign.sh"], - workdir="build/buildbot", + workdir="$HOME/deployment/buildbot", haltOnFailure=True, env={'BRANCH': util.Property("branch")})) @@ -432,7 +429,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Restarting inactive blue-green party.", descriptionDone="Restarting Taler.", command=["./restart.sh"], - workdir="build/buildbot", + workdir="$HOME/deployment/buildbot", haltOnFailure=True, env={'BRANCH': util.Property("branch")})) @@ -441,11 +438,10 @@ BUILD_FACTORY.addStep(ShellCommand( description="Checking services are correctly restarted.", descriptionDone="All services are correctly restarted.", command=["./checks.sh"], - workdir="build/buildbot", + workdir="$HOME/deployment/buildbot", haltOnFailure=True, env={'DEPLOYMENT': "test"})) - TESTSWITCH_FACTORY = util.BuildFactory() TESTSWITCH_FACTORY.addStep(git_step( "git://git.taler.net/deployment.git"))