summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-10 00:53:56 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-10 00:53:56 +0200
commitb0df7c9d9d7b4380372d361312e974e2b381bcb9 (patch)
treef90b035499a61b02babccef0953464dae56c1780 /buildbot
parentf9d54ef7421a9a1e6ba98a136a3e3c30281e76b7 (diff)
downloaddeployment-b0df7c9d9d7b4380372d361312e974e2b381bcb9.tar.gz
deployment-b0df7c9d9d7b4380372d361312e974e2b381bcb9.tar.bz2
deployment-b0df7c9d9d7b4380372d361312e974e2b381bcb9.zip
fix workdir for main builder
Diffstat (limited to 'buildbot')
-rw-r--r--buildbot/master.cfg13
1 files changed, 7 insertions, 6 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index f71f7d8..50405bc 100644
--- 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"}))