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: Restarting ARM vi


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Restarting ARM via buildbot.
Date: Tue, 07 Mar 2017 14:27:19 +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 b609e52  Restarting ARM via buildbot.
b609e52 is described below

commit b609e52778e12d24cfb1cba7fcad2540aaa0707c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 7 14:27:14 2017 +0100

    Restarting ARM via buildbot.
---
 taler-build/switch_active.sh    | 22 ----------------------
 taler-build/switch_bluegreen.sh |  1 +
 2 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh
deleted file mode 100755
index 69f8665..0000000
--- a/taler-build/switch_active.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# Build all Taler components for the non active party
-# of blue-green, and switch to it whenever compilation
-# and testing succeed. The script is not portable to
-# system using different usernames and directories,
-# respect to taler.net, for blue-green deployments
-
-set -eu
-
-if ! taler-deployment-build > build.log 2>&1; then
-  echo "Failed to rebuild, not switching"
-  if test "$1" = "--notify"; then
-    mail -s "[Taler build] $(date)" address@hidden < build.log
-  fi
-  exit 1
-else
-  echo "Successfully built, switching"
-  ln -fs -T /home/$(whoami)/sockets /home/test/sockets
-fi
-
-taler-deployment-restart
diff --git a/taler-build/switch_bluegreen.sh b/taler-build/switch_bluegreen.sh
index 9e38c50..fe46a73 100755
--- a/taler-build/switch_bluegreen.sh
+++ b/taler-build/switch_bluegreen.sh
@@ -13,4 +13,5 @@ if sudo -u $nonactive \
 
   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]