[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: Tip reserve deployment.
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: Tip reserve deployment. |
Date: |
Fri, 25 Jun 2021 16:10:34 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 67fc7d2 Tip reserve deployment.
67fc7d2 is described below
commit 67fc7d20de3696e97ece0e225cf4cbb0406932b2
Author: ms <ms@taler.net>
AuthorDate: Fri Jun 25 16:08:46 2021 +0200
Tip reserve deployment.
The creation of a tip reserve goes as a Buildbot step,
along of being a SystemD job as well. This way, we avoid
problematic time gaps between the codebase compilation
and the intervention of SystemD in the activation of a
tip reserve.
---
buildbot/create_tip_reserve.sh | 7 +++++++
buildbot/master.cfg | 12 ++++++++++++
2 files changed, 19 insertions(+)
diff --git a/buildbot/create_tip_reserve.sh b/buildbot/create_tip_reserve.sh
new file mode 100755
index 0000000..df756d3
--- /dev/null
+++ b/buildbot/create_tip_reserve.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# Step for the BUILD_FACTORY running the 'test.taler.net' site.
+set -eu
+
+source "${HOME}/activate"
+taler-deployment-config-tips
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 6afa99d..9fbf1e6 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -1056,6 +1056,18 @@ BUILD_FACTORY.addStep(
)
)
+BUILD_FACTORY.addStep(
+ ShellCommand(
+ name="activate tip reserve",
+ description="Instruct the merchant to pay and authorize the tip
reserve.",
+ descriptionDone="The tip reserve got payed and authorized.",
+ command=["./create_tip_reserve.sh"],
+ workdir="../../deployment/buildbot",
+ haltOnFailure=True,
+ env={'DEPLOYMENT': "test"}
+ )
+)
+
BUILDERS.append(util.BuilderConfig(
name="test-builder", workernames=["test-worker"], factory=BUILD_FACTORY
))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: Tip reserve deployment.,
gnunet <=