diff options
-rwxr-xr-x | buildbot/create_instances.sh | 7 | ||||
-rw-r--r-- | buildbot/master.cfg | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/buildbot/create_instances.sh b/buildbot/create_instances.sh new file mode 100755 index 0000000..40b736d --- /dev/null +++ b/buildbot/create_instances.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Step for the BUILD_FACTORY running the 'test.taler.net' site. +set -eu + +source "${HOME}/activate" +taler-config-instances diff --git a/buildbot/master.cfg b/buildbot/master.cfg index 6772355..bf7f09c 100644 --- a/buildbot/master.cfg +++ b/buildbot/master.cfg @@ -808,6 +808,18 @@ BUILD_FACTORY.addStep( ) ) +BUILD_FACTORY.addStep( + ShellCommand( + name="create instances", + description="Create merchant instances.", + descriptionDone="All the instances got created.", + command=["./create_instances.sh"], + workdir="../../deployment/buildbot", + haltOnFailure=True, + env={'DEPLOYMENT': "test"} + ) +) + SELENIUM_FACTORY = create_factory_with_deployment() SELENIUM_FACTORY.addStep( ShellCommand( |