summaryrefslogtreecommitdiff
path: root/buildbot/switch.sh
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-16 21:38:39 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-16 21:38:39 +0200
commitca74777ce76302eb14780047446bec1c521e0e17 (patch)
tree2e3735910ad3cefe5dcb588af2a604572f701120 /buildbot/switch.sh
parenteefbfc83920e0075df18562223a7e967cb574b38 (diff)
downloaddeployment-ca74777ce76302eb14780047446bec1c521e0e17.tar.gz
deployment-ca74777ce76302eb14780047446bec1c521e0e17.tar.bz2
deployment-ca74777ce76302eb14780047446bec1c521e0e17.zip
BB.
Give each color a worker, and make 'test' manage the color switch (by having itself a dedicate worker.)
Diffstat (limited to 'buildbot/switch.sh')
-rwxr-xr-xbuildbot/switch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildbot/switch.sh b/buildbot/switch.sh
index ed6e5f0..5b464ca 100755
--- a/buildbot/switch.sh
+++ b/buildbot/switch.sh
@@ -6,7 +6,7 @@ if test "stable" = ${BRANCH}; then
DEPLOYMENT="demo"
fi
-active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
+active=$(cat /home/${DEPLOYMENT}/active)
nonactive="${DEPLOYMENT}-blue"
echo "Active party: ${active}"