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: Moving workers.


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Moving workers.
Date: Tue, 16 Apr 2019 21:50:47 +0200

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 8e71580  Moving workers.
8e71580 is described below

commit 8e715805f5a24e1f08343d0a9aa29b6de941e9cb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Apr 16 21:50:35 2019 +0200

    Moving workers.
---
 buildbot/master.cfg     |  5 +++--
 buildbot/top_reserve.sh | 10 ++++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 610e124..055401f 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -386,7 +386,8 @@ AUDITOR_BUILDER = util.BuilderConfig(
 
 TIP_RESERVE_TOPPER_BUILDER = util.BuilderConfig(
     name="tip-reserve-topper-builder",
-    workernames="switcher-worker",
+    workernames=["builder-worker-green",
+                 "builder-worker-blue"],
     factory=TIP_RESERVE_TOPPER_FACTORY)
 
 DEMO_SERVICES_CHECKER_BUILDER = util.BuilderConfig(
@@ -402,7 +403,7 @@ BUILDER_BUILDER = util.BuilderConfig(
 
 SWITCHER_BUILDER = util.BuilderConfig(
     name="switcher-builder",
-    workernames=["switcher-worker"],
+    workernames=["testswitcher-worker"],
     factory=SWITCH_FACTORY)
 
 SELENIUM_BUILDER = util.BuilderConfig(
diff --git a/buildbot/top_reserve.sh b/buildbot/top_reserve.sh
index 836fb2c..821a8d1 100755
--- a/buildbot/top_reserve.sh
+++ b/buildbot/top_reserve.sh
@@ -1,5 +1,11 @@
 #!/bin/bash
 
-active=$(cat /home/test/active)
+source "${HOME}/activate"
+ACTIVE_COLOR="$(cat /home/test/active)"
 
-sudo -u $active bash -c 'source $HOME/activate; taler-deployment-top-reserve'
+if ! test "${TALER_ENV_COLOR}" = "${ACTIVE_COLOR}"; then
+  echo "I'm the inactive color, will not top the reserve up!"
+  exit 0
+fi
+
+taler-deployment-top-reserve'

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



reply via email to

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