taler-deployment

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

commit b0df7c9d9d7b4380372d361312e974e2b381bcb9
parent f9d54ef7421a9a1e6ba98a136a3e3c30281e76b7
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 10 Jun 2019 00:53:56 +0200

fix workdir for main builder

Diffstat:
Mbuildbot/master.cfg | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -394,7 +394,8 @@ BUILD_FACTORY.addStep(ShellCommand( name="build", description="Building inactive blue-green party.", descriptionDone="Inactive party got built.", - command=["${HOME}/deployment/buildbot/build.sh"], + command=["./build.sh"], + workdir="../../deployment/buildbot", haltOnFailure=True)) BUILD_FACTORY.addStep(ShellCommand( @@ -402,7 +403,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Generating configuration file.", descriptionDone="Configuration file generated.", command=["./config.sh"], - workdir="${HOME}/deployment/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True)) BUILD_FACTORY.addStep(ShellCommand( @@ -410,7 +411,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Generating exchange keys, and auditor-sign them.", descriptionDone="Exchange keys generated, and auditor-signed.", command=["./keys.sh"], - workdir="${HOME}/deployment/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True, env={'BRANCH': util.Property("branch")})) @@ -419,7 +420,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Signing exchange wire details.", descriptionDone="Exchange wire details got signed.", command=["./sign.sh"], - workdir="${HOME}/deployment/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True, env={'BRANCH': util.Property("branch")})) @@ -428,7 +429,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Restarting inactive blue-green party.", descriptionDone="Restarting Taler.", command=["./restart.sh"], - workdir="${HOME}/deployment/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True, env={'BRANCH': util.Property("branch")})) @@ -437,7 +438,7 @@ BUILD_FACTORY.addStep(ShellCommand( description="Checking services are correctly restarted.", descriptionDone="All services are correctly restarted.", command=["./checks.sh"], - workdir="${HOME}/deployment/buildbot", + workdir="../../deployment/buildbot", haltOnFailure=True, env={'DEPLOYMENT': "test"}))