gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: Buildbot does san


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Buildbot does sanity checks for exchange and merchant.
Date: Wed, 08 Mar 2017 14:22:35 +0100

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new dc9fab3  Buildbot does sanity checks for exchange and merchant.
dc9fab3 is described below

commit dc9fab323fc836733b7cc998ee6141d7ecd19cc5
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 8 14:17:34 2017 +0100

    Buildbot does sanity checks for exchange and merchant.
---
 buildbot/master.cfg             | 26 +++++++++++++++++++++++---
 taler-build/switch_bluegreen.sh | 17 -----------------
 2 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 9352d41..fa76697 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -102,9 +102,29 @@ 
switcher_factory.addStep(Git(repourl='git://git.taler.net/deployment.git',
                          branch='master'))
 switcher_factory.addStep(ShellCommand(name="build",
                                   description="Building inactive blue-green 
party.",
-                                  descriptionDone="timestamps invalidated",
-                                  command=["./switch_bluegreen.sh"], 
-                                  workdir="build/taler-build"))                
     
+                                  descriptionDone="Compilation successful.",
+                                  command=["./switch_build.sh"],
+                                  workdir="build/taler-build"))
+switcher_factory.addStep(ShellCommand(name="build",
+                                  description="Starting inactive blue-green 
party.",
+                                  descriptionDone="Restarted.",
+                                  command=["./switch_restart.sh"],
+                                  workdir="build/taler-build"))
+switcher_factory.addStep(ShellCommand(name="build",
+                                  description="Checking Exchange.",
+                                  descriptionDone="Exchange is responsive.",
+                                  command=["./switch_check_exchange.sh"],
+                                  workdir="build/taler-build"))
+switcher_factory.addStep(ShellCommand(name="build",
+                                  description="Checking Merchants Backends.",
+                                  descriptionDone="Both backends are 
responsive.",
+                                  command=["./switch_check_merchant.sh"],
+                                  workdir="build/taler-build"))
+switcher_factory.addStep(ShellCommand(name="build",
+                                  description="Switching active party.",
+                                  descriptionDone="Active party has been 
switched.",
+                                  command=["./switch_switch.sh"],
+                                  workdir="build/taler-build"))
 selenium_factory = util.BuildFactory()
 selenium_factory.addStep(ShellCommand(name="selenium",
                                       description="Headless browser test",
diff --git a/taler-build/switch_bluegreen.sh b/taler-build/switch_bluegreen.sh
deleted file mode 100755
index fe46a73..0000000
--- a/taler-build/switch_bluegreen.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-active=$(sudo -u test cat /home/test/active)
-nonactive="test-blue"
-echo "Active party: ${active}"
-
-if test $active = "test-blue"; then
-  nonactive="test-green"
-fi
-
-if sudo -u $nonactive \
-   bash -c 'source $HOME/activate; taler-deployment-build'; then
-
-  echo "Switching to ${nonactive}."
-  sudo -u test bash -c "cd /home/test; ./ln-${nonactive}.sh"
-  sudo -u $nonactive bash -c 'cd $HOME; . activate; taler-deployment-restart'
-fi

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



reply via email to

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