gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: taler-local


From: gnunet
Subject: [taler-deployment] branch master updated: taler-local
Date: Wed, 08 Dec 2021 20:41:04 +0100

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 8e72cf4  taler-local
8e72cf4 is described below

commit 8e72cf4a02b679bedd84f77b1acd3dc3f2479fb8
Author: ms <ms@taler.net>
AuthorDate: Wed Dec 8 20:40:36 2021 +0100

    taler-local
    
    invoking commands with absolute path
---
 bin/WIP/taler-local | 60 ++++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local
index 89532f5..79e2da6 100755
--- a/bin/WIP/taler-local
+++ b/bin/WIP/taler-local
@@ -554,7 +554,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         # make connection
         Command(
             [
-                "libeufin-cli", "connections",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "connections",
                 "new-ebics-connection",
                 "--ebics-url", ebics_url,
                 "--host-id", ebics_host_id,
@@ -567,7 +567,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         # connect
         Command(
             [
-                "libeufin-cli", "connections",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "connections",
                 "connect", bank_connection_name
             ],
             env
@@ -575,7 +575,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         # Import bank account
         Command(
             [
-                "libeufin-cli", "connections",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "connections",
                 "download-bank-accounts",
                 bank_connection_name
             ],
@@ -583,7 +583,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         ).run()
         Command(
             [
-                "libeufin-cli", "connections",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "connections",
                 "import-bank-account",
                 "--offered-account-id",
                 bank_account_name_sandbox,
@@ -596,7 +596,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         # Set background tasks.
         Command(
             [
-                "libeufin-cli", "accounts",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "accounts",
                 "task-schedule", bank_account_name_nexus,
                 "--task-type", "submit",
                 "--task-name", "submit-payments-each-second",
@@ -606,7 +606,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         ).run()
         Command(
             [
-                "libeufin-cli", "accounts",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "accounts",
                 "task-schedule", bank_account_name_nexus,
                 "--task-type", "fetch",
                 "--task-name", "fetch-reports-each-second",
@@ -627,7 +627,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         customer_env["LIBEUFIN_SANDBOX_PASSWORD"] = password
         demobank_url = urljoin_nodrop(sandbox_url, "/demobanks/default")
         r = Command([
-            "libeufin-cli", "sandbox",
+            f"{TALER_PREFIX}/bin/libeufin-cli", "sandbox",
             "--sandbox-url", demobank_url,
             "demobank", "info",
             "--bank-account", bank_account_label],
@@ -653,7 +653,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         user_env["LIBEUFIN_SANDBOX_PASSWORD"] = password
         Command(
             [
-                "libeufin-cli", "sandbox",
+                f"{TALER_PREFIX}/bin/libeufin-cli", "sandbox",
                 "--sandbox-url", demobank_url,
                 "demobank", "register"
             ],
@@ -663,7 +663,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         admin_env["LIBEUFIN_SANDBOX_USERNAME"] = SANDBOX_ADMIN_USERNAME
         admin_env["LIBEUFIN_SANDBOX_PASSWORD"] = SANDBOX_ADMIN_PASSWORD
         Command([
-                "libeufin-cli", "sandbox", 
+                f"{TALER_PREFIX}/bin/libeufin-cli", "sandbox",
                 "--sandbox-url", demobank_url,
                 "demobank", "new-ebicssubscriber",
                 "--host-id", ebics_host_id,
@@ -691,7 +691,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
 
     def create_tip_reserve():
         payto = Command([
-            "taler-merchant-setup-reserve",
+            f"{TALER_PREFIX}/bin/taler-merchant-setup-reserve",
             "--amount", f"{CURRENCY}:20",
             "--exchange-url", get_link("/exchange/"),
             "--merchant-url", get_link("/merchant-backend/instances/survey/"),
@@ -701,7 +701,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         ).run()
 
         Command([
-            "libeufin-cli", "sandbox", "--sandbox-url",
+            f"{TALER_PREFIX}/bin/libeufin-cli", "sandbox", "--sandbox-url",
             SANDBOX_URL + "/demobanks/default/", "demobank",
             "new-transaction", "--bank-account", "sandbox-account-survey",
             "--payto-with-subject", payto, "--amount", f"{CURRENCY}:20"],
@@ -837,12 +837,12 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
             exchange_master_pub
     ):
         Command([
-            "taler-config", "-c", filename,
+            f"{TALER_PREFIX}/bin/taler-config", "-c", filename,
             "-s", "exchange", "-o", "master_public_key",
             "-V", exchange_master_pub
         ]).run()
         Command([
-            "taler-config", "-c", filename,
+            f"{TALER_PREFIX}/bin/taler-config", "-c", filename,
             "-s", f"merchant-exchange-{currency}",
             "-o", "master_key",
             "-V", exchange_master_pub
@@ -1228,7 +1228,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Generate exchange's master key...")
     EXCHANGE_MASTER_PUB = Command(
         [
-            "taler-exchange-offline",
+            f"{TALER_PREFIX}/bin/taler-exchange-offline",
             "-c", CFG_OUTDIR / "taler.conf",
             "setup"
         ],
@@ -1266,7 +1266,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print(" OK")
     print_nn("Reset and init exchange DB..")
     Command([
-        "taler-exchange-dbinit",
+        f"{TALER_PREFIX}/bin/taler-exchange-dbinit",
         "-c", CFG_OUTDIR / "taler.conf",
         "--reset"]
     ).run()
@@ -1319,7 +1319,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print(" OK")
     print_nn("exchange-offline: signing key material...")
     Command([
-        "taler-exchange-offline",
+        f"{TALER_PREFIX}/bin/taler-exchange-offline",
         "-c", CFG_OUTDIR / "taler.conf",
         "download", "sign", "upload"
     ]).run()
@@ -1331,7 +1331,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     for year in range(YEAR, YEAR+5):
         Command(
             [
-                "taler-exchange-offline",
+                f"{TALER_PREFIX}/bin/taler-exchange-offline",
                 "-c", CFG_OUTDIR / "taler.conf",
                 "wire-fee",
                 str(year),
@@ -1345,7 +1345,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print(" OK")
     print_nn("Reset and init auditor DB..")
     Command([
-        "taler-auditor-dbinit",
+        f"{TALER_PREFIX}/bin/taler-auditor-dbinit",
         "-c", CFG_OUTDIR / "taler.conf",
         "--reset"]
     ).run()
@@ -1353,7 +1353,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Add this exchange to the auditor...")
     Command(
         [
-            "taler-auditor-exchange",
+            f"{TALER_PREFIX}/bin/taler-auditor-exchange",
             "-c", CFG_OUTDIR / "taler.conf",
             "-m", EXCHANGE_MASTER_PUB,
             "-u", REV_PROXY_URL + "/exchange/"
@@ -1379,7 +1379,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Make Sandbox EBICS host...")
     Command(
         [
-            "libeufin-cli", "sandbox",
+            f"{TALER_PREFIX}/bin/libeufin-cli", "sandbox",
             "--sandbox-url", SANDBOX_URL,
             "ebicshost", "create",
             "--host-id", EBICS_HOST_ID,
@@ -1413,14 +1413,14 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print(" OK")
     print_nn("Specify own payto-URI to exchange's configuration..")
     Command([
-        "taler-config", "-c", CFG_OUTDIR / 'taler.conf',
+        f"{TALER_PREFIX}/bin/taler-config", "-c", CFG_OUTDIR / 'taler.conf',
         "-s", "exchange-account-1", "-o", "payto_uri", "-V",
         EXCHANGE_PAYTO
     ]).run()
     print(" OK")
     print_nn(f"exchange-offline: enabling {EXCHANGE_PAYTO}...")
     Command([
-        "taler-exchange-offline",
+        f"{TALER_PREFIX}/bin/taler-exchange-offline",
         "-c", CFG_OUTDIR / "taler.conf",
         "enable-account", EXCHANGE_PAYTO, "upload"
     ]).run()
@@ -1455,7 +1455,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Make Nexus superuser ...")
     Command(
         [
-            "libeufin-nexus", "superuser",
+            f"{TALER_PREFIX}/bin/libeufin-nexus", "superuser",
             EXCHANGE_NEXUS_USERNAME,
             "--password", EXCHANGE_NEXUS_PASSWORD
         ],
@@ -1493,7 +1493,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Create Taler facade ...")
     Command(
         [
-            "libeufin-cli", "facades",
+            f"{TALER_PREFIX}/bin/libeufin-cli", "facades",
             "new-taler-wire-gateway-facade",
             "--currency", CURRENCY,
             "--facade-name", EXCHANGE_FACADE_NAME,
@@ -1522,7 +1522,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     FACADE_URL = response.json().get("facades")[0].get("baseUrl")
     print_nn("Set suggested exchange at Sandbox...")
     Command([
-        "libeufin-sandbox",
+        f"{TALER_PREFIX}/bin/libeufin-sandbox",
         "default-exchange",
         get_link('/exchange/'),
         EXCHANGE_PAYTO],
@@ -1535,7 +1535,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     # Point the exchange to the facade.
     Command(
         [
-            "taler-config",
+            f"{TALER_PREFIX}/bin/taler-config",
             "-c", CFG_OUTDIR / "taler.conf",
             "-s", "exchange-accountcredentials-1",
             "-o" "wire_gateway_auth_method",
@@ -1545,7 +1545,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     ).run()
     Command(
         [
-            "taler-config",
+            f"{TALER_PREFIX}/bin/taler-config",
             "-c", CFG_OUTDIR / "taler.conf",
             "-s", "exchange-accountcredentials-1",
             "-o" "wire_gateway_url",
@@ -1555,7 +1555,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     ).run()
     Command(
         [
-            "taler-config",
+            f"{TALER_PREFIX}/bin/taler-config",
             "-c", CFG_OUTDIR / "taler.conf",
             "-s", "exchange-accountcredentials-1",
             "-o" "username",
@@ -1565,7 +1565,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     ).run()
     Command(
         [
-            "taler-config",
+            f"{TALER_PREFIX}/bin/taler-config",
             "-c", CFG_OUTDIR / "taler.conf",
             "-s", "exchange-accountcredentials-1",
             "-o" "password",
@@ -1578,7 +1578,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     
     print_nn("Reset and init merchant database...")
     Command([
-        "taler-merchant-dbinit",
+        f"{TALER_PREFIX}/bin/taler-merchant-dbinit",
         "-c", CFG_OUTDIR / "taler.conf",
         "--reset"
     ]).run()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]