gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: skip prepare step in auditor,


From: gnunet
Subject: [taler-deployment] branch master updated: skip prepare step in auditor, we will use existing prepared environment, also run auditor logic against the respective demo/test /home/grothoff
Date: Sun, 23 Feb 2020 19:13:01 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 0a62ff9  skip prepare step in auditor, we will use existing prepared 
environment, also run auditor logic against the respective demo/test 
/home/grothoff
0a62ff9 is described below

commit 0a62ff972354413b771d1372a5da7dec4c59d9e1
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 23 19:12:59 2020 +0100

    skip prepare step in auditor, we will use existing prepared environment, 
also run auditor logic against the respective demo/test /home/grothoff
---
 buildbot/make_auditor_reports.sh | 16 ++++++++--------
 buildbot/master.cfg              | 24 ++++++++++++++++++------
 2 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index 56ee802..1ab964f 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -13,9 +13,6 @@ echo "Running taler-deployment build"
 source ${HOME}/activate
 taler-deployment build
 
-echo "Running taler-deployment-prepare"
-taler-deployment-prepare
-
 DATE=$(date +%Y-%m-%d)
 REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE}
 WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE}
@@ -40,22 +37,25 @@ if test -a ${REPORTS_DIRECTORY}/$(basename 
"${REPORT_FILE_NOEXT}.pdf"); then
   exit 0
 fi
 
+
+CONFIG_FILE=${TALER_HOME}/.config/taler.conf
+
 echo "Adding exchange to auditor's list"
 taler-auditor-exchange \
-  -c ${HOME}/.config/taler.conf \
-  -m $(taler-config -s exchange -o master_public_key) \
-  -u $(taler-config -s exchange -o base_url) || true
+  -c ${CONFIG_FILE} \
+  -m $(taler-config -c ${CONFIG_FILE} -s exchange -o master_public_key) \
+  -u $(taler-config -c ${CONFIG_FILE} -s exchange -o base_url) || true
 
 # Generate first report.
 echo "Running taler-auditor"
-if ! taler-auditor > "${REPORT_FILE_NOEXT}.txt"; then
+if ! taler-auditor -c ${CONFIG_FILE} > "${REPORT_FILE_NOEXT}.txt"; then
   clean_files
   exit 1
 fi
 
 # Generate "wire" report.
 echo "Running taler-wire-auditor"
-if ! taler-wire-auditor > "${WIRE_REPORT_FILE_NOEXT}.txt"; then
+if ! taler-wire-auditor -c ${CONFIG_FILE} > "${WIRE_REPORT_FILE_NOEXT}.txt"; 
then
   clean_files
   exit 1
 fi
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 6dfd10b..669ba6f 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -517,16 +517,28 @@ LCOV_FACTORY.addStep(
     )
 )
 
-# FIXME: 'demo' reports generator missing.
-AUDITOR_FACTORY = create_factory_with_deployment()
-AUDITOR_FACTORY.addStep(
+AUDITOR_FACTORY_TEST = create_factory_with_deployment()
+AUDITOR_FACTORY_TEST.addStep(
     ShellCommand(
         name="Auditor reports generator",
         description="Generating auditor reports.",
         descriptionDone="Auditor reports correctly generated.",
         command=["./make_auditor_reports.sh"],
         workdir="../../deployment/buildbot"
-    )
+        env={'TALER_HOME': "/home/taler-test/"}
+   )
+)
+
+AUDITOR_FACTORY_DEMO = create_factory_with_deployment()
+AUDITOR_FACTORY_DEMO.addStep(
+    ShellCommand(
+        name="Auditor reports generator",
+        description="Generating auditor reports.",
+        descriptionDone="Auditor reports correctly generated.",
+        command=["./make_auditor_reports.sh"],
+        workdir="../../deployment/buildbot"
+        env={'TALER_HOME': "/home/demo/active-home/"}
+   )
 )
 
 TIP_RESERVE_TOPPER_FACTORY = create_factory_with_deployment()
@@ -678,13 +690,13 @@ CHECKER_BUILDER = util.BuilderConfig(
 AUDITOR_BUILDER_TEST = util.BuilderConfig(
     name="auditor-builder-test",
     workernames=["test-auditor-worker"],
-    factory=AUDITOR_FACTORY
+    factory=AUDITOR_FACTORY_TEST
 )
 
 AUDITOR_BUILDER_DEMO = util.BuilderConfig(
     name="auditor-builder-demo",
     workernames=["demo-auditor-worker"],
-    factory=AUDITOR_FACTORY
+    factory=AUDITOR_FACTORY_DEMO
 )
 
 TIP_RESERVE_TOPPER_BUILDER_DEMO = util.BuilderConfig(

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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