commit 943cadd51ad2c67d85f9aa70866c957f9e00102a
parent a4017d35912015487a44190dd7a57110fa9177e6
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 16 Apr 2019 12:24:44 +0200
syntax
Diffstat:
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/buildbot/keys.sh b/buildbot/keys.sh
@@ -4,6 +4,7 @@ DEPLOYMENT="test"
if test "stable" = ${BRANCH}; then
DEPLOYMENT="demo"
+fi
active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
nonactive="${DEPLOYMENT}-blue"
diff --git a/buildbot/restart.sh b/buildbot/restart.sh
@@ -4,6 +4,7 @@ DEPLOYMENT="test"
if test "stable" = ${BRANCH}; then
DEPLOYMENT="demo"
+fi
active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
nonactive="${DEPLOYMENT}-blue"
diff --git a/buildbot/sign.sh b/buildbot/sign.sh
@@ -4,6 +4,7 @@ DEPLOYMENT="test"
if test "stable" = ${BRANCH}; then
DEPLOYMENT="demo"
+fi
active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
nonactive="${DEPLOYMENT}-blue"
diff --git a/buildbot/switch.sh b/buildbot/switch.sh
@@ -4,6 +4,7 @@ DEPLOYMENT="test"
if test "stable" = ${BRANCH}; then
DEPLOYMENT="demo"
+fi
active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active)
nonactive="${DEPLOYMENT}-blue"