[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: create default instance stub
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: create default instance stub |
Date: |
Tue, 25 May 2021 12:49:49 +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 e19bbcb create default instance stub
e19bbcb is described below
commit e19bbcbc5c8c5d97e9dcd6ac14166bbffc220030
Author: MS <ms@taler.net>
AuthorDate: Tue May 25 12:49:44 2021 +0200
create default instance stub
---
bin/taler-deployment-config-instances | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/bin/taler-deployment-config-instances
b/bin/taler-deployment-config-instances
index 4fe854c..d0e129d 100755
--- a/bin/taler-deployment-config-instances
+++ b/bin/taler-deployment-config-instances
@@ -9,7 +9,7 @@ file has been sourced to provide the right environment
variables.
"""
import requests
-from os import environ
+from os import environ, system
from sys import exit
from urllib.parse import urljoin
@@ -26,6 +26,11 @@ TALER_ENV_NAME = expect_env("TALER_ENV_NAME")
TALER_CONFIG_CURRENCY = expect_env("TALER_CONFIG_CURRENCY")
TALER_ENV_FRONTENDS_APITOKEN = expect_env("TALER_ENV_FRONTENDS_APITOKEN")
authorization_header = {"Authorization": f"Bearer
{TALER_ENV_FRONTENDS_APITOKEN}"}
+
+
+def ensure_default_instance():
+ system("taler-deployment-arm -k taler-merchant")
+
def ensure_instance(instance_id, name, payto_uris, auth):
# FIXME: Use auth once the default instance also uses token auth
instance_response = requests.get(
@@ -70,6 +75,8 @@ def ensure_instance(instance_id, name, payto_uris, auth):
else:
exit(1)
+ensure_default_instance()
+
ensure_instance(
"blog",
name="Blog",
@@ -113,13 +120,6 @@ ensure_instance(
auth=dict(method="token", token=TALER_ENV_FRONTENDS_APITOKEN),
)
-ensure_instance(
- "default",
- name="Default",
- payto_uris=[f"payto://x-taler-bank/bank.{TALER_ENV_NAME}.taler.net/Taler"],
- auth=dict(method="token", token=TALER_ENV_FRONTENDS_APITOKEN),
-)
-
ensure_instance(
"Tor",
name="Tor",
--
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: create default instance stub,
gnunet <=