summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-16 12:24:44 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-16 12:24:44 +0200
commit943cadd51ad2c67d85f9aa70866c957f9e00102a (patch)
tree82819343d305ad024ffb89cfb19d41912af801cb
parenta4017d35912015487a44190dd7a57110fa9177e6 (diff)
downloaddeployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.tar.gz
deployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.tar.bz2
deployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.zip
syntax
-rwxr-xr-xbuildbot/keys.sh1
-rwxr-xr-xbuildbot/restart.sh1
-rwxr-xr-xbuildbot/sign.sh1
-rwxr-xr-xbuildbot/switch.sh1
4 files changed, 4 insertions, 0 deletions
diff --git a/buildbot/keys.sh b/buildbot/keys.sh
index 220492f..e7ebe59 100755
--- 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
index 19a18d1..a14963c 100755
--- 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
index cc93052..d095b69 100755
--- 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
index 82c169d..ed6e5f0 100755
--- 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"