diff options
author | MS <ms@taler.net> | 2020-07-21 16:44:50 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-21 16:45:06 +0200 |
commit | 0ac531596cc7be0bc87834e30b3048c47a179892 (patch) | |
tree | b7d9c5e3fccb6489730e7b8984355929510d5829 /buildbot | |
parent | 98f972c0682efaa281cafa8c32a81e5ccf1c3b3a (diff) | |
download | deployment-0ac531596cc7be0bc87834e30b3048c47a179892.tar.gz deployment-0ac531596cc7be0bc87834e30b3048c47a179892.tar.bz2 deployment-0ac531596cc7be0bc87834e30b3048c47a179892.zip |
create instances automatically
Diffstat (limited to 'buildbot')
-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( |