diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 21:38:39 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 21:38:39 +0200 |
commit | ca74777ce76302eb14780047446bec1c521e0e17 (patch) | |
tree | 2e3735910ad3cefe5dcb588af2a604572f701120 /buildbot/switch.sh | |
parent | eefbfc83920e0075df18562223a7e967cb574b38 (diff) | |
download | deployment-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-x | buildbot/switch.sh | 2 |
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}" |