[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ansible-taler-exchange] branch master updated: scripts to quickly enabl
From: |
Admin |
Subject: |
[ansible-taler-exchange] branch master updated: scripts to quickly enable test deployment |
Date: |
Thu, 13 Feb 2025 14:32:05 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository ansible-taler-exchange.
The following commit(s) were added to refs/heads/master by this push:
new a2a1038 scripts to quickly enable test deployment
a2a1038 is described below
commit a2a1038754a5dadc7e8ba5f4cb93ebb6f06a5e28
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Feb 13 14:32:02 2025 +0100
scripts to quickly enable test deployment
---
playbooks/test-public.yml | 2 +-
test-activate.sh | 17 +++++++++++++++++
test-master.priv | 1 +
test-offline.conf | 10 ++++++++++
4 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/playbooks/test-public.yml b/playbooks/test-public.yml
index 817bd2d..9d82f2b 100644
--- a/playbooks/test-public.yml
+++ b/playbooks/test-public.yml
@@ -16,7 +16,7 @@ EXCHANGE_BASE_URL: "https://exchange.{{ DOMAIN_NAME }}/"
# Base URL of the auditor REST API
AUDITOR_BASE_URL: "https://auditor.{{ DOMAIN_NAME }}/"
# Exchange offline master public key.
-EXCHANGE_MASTER_PUB: W91R2NPHGP9TD36EXCAWNTW63QHEED4P12SNTKPE1WD5YM6MVA40
+EXCHANGE_MASTER_PUB: GT1ZRF6DT4RAETDEGW3KTWRH15RAKH9T0TK6ZJEYFGRX18B54AK0
# Auditor offline public key.
AUDITOR_PUB: P6B7ZS7Y1Y12S0VP0PAJ1GQGSHW8RE4NSBTP8PR254J18SK24MH0
# URL with merchants accepting this exchange.
diff --git a/test-activate.sh b/test-activate.sh
new file mode 100644
index 0000000..fc4c222
--- /dev/null
+++ b/test-activate.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Script to fully configure the taler-ops "test" exchange.
+
+taler-exchange-offline \
+ -c test-offline.conf \
+ download sign upload
+
+
+taler-exchange-offline \
+ -c test-offline.conf \
+ wire-fee now iban CHF:0 CHF:0 \
+ global-fee now CHF:0 CHF:0 CHF:0 "1 d" "1 year" 1000 \
+ enable-account
payto://iban/CH6808573105529100001?receiver-name=Taler+Operations+AG \
+ credit-restriction regex 'payto://iban/CH.*' "Swiss bank accounts only"
'{}' \
+ debit-restriction regex 'payto://iban/CH.*' "Swiss bank accounts only"
'{}' \
+ enable-auditor P6B7ZS7Y1Y12S0VP0PAJ1GQGSHW8RE4NSBTP8PR254J18SK24MH0
https://auditor.taler-ops.ch/ "Taler Operations AG"
diff --git a/test-master.priv b/test-master.priv
new file mode 100644
index 0000000..ba0a0a8
--- /dev/null
+++ b/test-master.priv
@@ -0,0 +1 @@
+O���]����e���WB�dkz�� :��)I
\ No newline at end of file
diff --git a/test-offline.conf b/test-offline.conf
new file mode 100644
index 0000000..ea45f0f
--- /dev/null
+++ b/test-offline.conf
@@ -0,0 +1,10 @@
+# Configuration file for taler-exchange-offline for
+# the test deployment on taler-ops.ch.
+
+[exchange]
+CURRENCY = CHF
+BASE_URL = https://exchange.taler-ops.ch/
+
+[exchange-offline]
+MASTER_PRIV_FILE = test-master.priv
+SECM_TOFU_FILE = /tmp/tops-test-tofu.pub
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ansible-taler-exchange] branch master updated: scripts to quickly enable test deployment,
Admin <=