commit 0ac531596cc7be0bc87834e30b3048c47a179892
parent 98f972c0682efaa281cafa8c32a81e5ccf1c3b3a
Author: MS <ms@taler.net>
Date: Tue, 21 Jul 2020 16:44:50 +0200
create instances automatically
Diffstat:
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/buildbot/create_instances.sh 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
@@ -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(