gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: logging


From: gnunet
Subject: [taler-deployment] branch master updated: logging
Date: Sat, 18 Sep 2021 12:18:11 +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 f0a4191  logging
f0a4191 is described below

commit f0a419150fa7fe1c0769767e0d26e71aa89f8b4e
Author: ms <ms@taler.net>
AuthorDate: Sat Sep 18 12:18:08 2021 +0200

    logging
---
 bin/taler-deployment-config-instances-iban | 3 +--
 bin/taler-deployment-prepare-with-eufin    | 8 ++++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/bin/taler-deployment-config-instances-iban 
b/bin/taler-deployment-config-instances-iban
index 64f952c..36db542 100755
--- a/bin/taler-deployment-config-instances-iban
+++ b/bin/taler-deployment-config-instances-iban
@@ -34,7 +34,6 @@ def wait_merchant_up():
     # Check it started correctly and it is ready to serve requests.
     checks = 10
     url = urljoin(MERCHANT_BACKEND_BASE_URL, "/config")
-    print("Check URL: {}".format(url))
     while checks > 0:
         try:
             resp = requests.get(url, timeout=5)
@@ -50,7 +49,6 @@ def wait_merchant_up():
             continue
 
         # Ready.
-        print("Merchant is up and running")
         return True
 
     print("Merchant is not correctly serving requests.")
@@ -159,6 +157,7 @@ ensure_instance(
     
payto_uris=[f"payto://sepa/bank.{TALER_ENV_NAME}.taler.net/{ibans.get('blog')}"],
     auth=dict(method="token", token=TALER_ENV_FRONTENDS_APITOKEN),
 )
+print("Stopping the ARM merchant")
 system("taler-deployment-arm -k taler-merchant")
 # NOTE: ARM itself will be stopped by the main prepare script.
 # Stopping here will result in indefinite wait at the caller.
diff --git a/bin/taler-deployment-prepare-with-eufin 
b/bin/taler-deployment-prepare-with-eufin
index c07bef2..4f3345d 100755
--- a/bin/taler-deployment-prepare-with-eufin
+++ b/bin/taler-deployment-prepare-with-eufin
@@ -70,7 +70,7 @@ echo " OK"
 ##
 ## Step 1b: initialize database
 ##
-if test $WITH_DB_RESET = yes; then
+if test $WITH_DB_RESET = resetDb; then
   echo -n "Reset and init exchange DB.."
   taler-exchange-dbinit --reset
   echo " OK"
@@ -173,7 +173,7 @@ sleep 5
 ## Step 4:  Set up euFin
 ##
 
-if test $WITH_DB_RESET = yes; then
+if test $WITH_DB_RESET = resetDb; then
   echo -n "Resetting euFin databases.."
   # NOTE/FIXME: those values _could_ be extracted from
   # the environment, as this one contains already the DB
@@ -372,7 +372,7 @@ esac
 ## Step 6: Set up merchant
 ##
 
-if test $WITH_DB_RESET = yes; then
+if test $WITH_DB_RESET = resetDb; then
   echo -n "Reset and init merchant database.."
   taler-merchant-dbinit --reset
   echo " OK"
@@ -406,7 +406,7 @@ fi
 
 echo "Configuring instances"
 taler-deployment-config-instances-iban
-
+echo "Stopping exchange services"
 taler-deployment-arm -k taler-exchange
 taler-deployment-arm -k taler-exchange-secmod-rsa
 taler-deployment-arm -k taler-exchange-secmod-eddsa

-- 
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]