summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-14 12:59:38 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-14 12:59:38 +0100
commitfe492f3ff0ae8482b6614895ea92ad1b0c1882f7 (patch)
tree8ebf582fc84d3b25f66b67c6a59e40b3e4d0e939
parent21d894074dfb9a902e3a7ab50eb4a864700cc437 (diff)
downloadjenkins.debian.net-fe492f3ff0ae8482b6614895ea92ad1b0c1882f7.tar.xz
install kgb-client on pb2 too, for irc notifications of missing squid service
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 36ef2a6e..200d55a1 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -257,8 +257,8 @@ if [ -f /etc/debian_version ] ; then
# install squid everywhere except on the armhf nodes
case $HOSTNAME in
jenkins|jenkins-test-vm|profitbricks-build*) DEBS="$DEBS
- squid3"
- ;;
+ squid3
+ kgb-client" ;;
*) ;;
esac
# needed to run the 2nd reproducible builds nodes in the future...
@@ -640,7 +640,7 @@ fi
#
# generate the kgb-client configurations
#
-if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "profitbricks-build4-amd64" ] || [ "$HOSTNAME" = "profitbricks-build7-amd64" ] ; then
+if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "profitbricks-build4-amd64" ] || [ "$HOSTNAME" = "profitbricks-build7-amd64" ] || [ "$HOSTNAME" = "profitbricks-build2-amd64" ; then
cd $BASEDIR
KGB_SECRETS="/srv/jenkins/kgb/secrets.yml"
if [ -f "$KGB_SECRETS" ] && [ $(stat -c "%a:%U:%G" "$KGB_SECRETS") = "640:jenkins-adm:jenkins-adm" ] ; then