summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-04-28 21:28:15 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-28 21:28:15 +0200
commit1e096b9b0ffbab56787af481e92a163c0b17cb42 (patch)
treebed0e877d71f91750079d771565d028ef247e707 /update_jdn.sh
parente0c5a2da13ba9c6291c3ad48b73b8bf00af29556 (diff)
downloadjenkins.debian.net-1e096b9b0ffbab56787af481e92a163c0b17cb42.tar.xz
reproducible openwrt/coreboot/archlinux/fedora/netbsd/freebsd: add new pb-build4-amd64 node
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index bfcb531c..27293579 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -203,7 +203,7 @@ if [ -f /etc/debian_version ] ; then
esac
# needed to run coreboot/openwrt/netbsd/fedora/fdroid jobs
case $HOSTNAME in
- profitbricks-build3-amd64) DEBS="$DEBS
+ profitbricks-build3-amd64|profitbricks-build4-amd64) DEBS="$DEBS
bison
cmake
diffutils
@@ -359,7 +359,7 @@ fi
#
# prepare mock to build rpms
#
-if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "jenkins" ] ; then
+if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "profitbricks-build4-amd64" ] || [ "$HOSTNAME" = "jenkins" ] ; then
if ! grep mock /etc/group ; then
# these 4 commands are obsolete with mock 1.2.3-1 (=stretch)
sudo groupadd --system mock
@@ -517,7 +517,7 @@ fi
#
# generate the kgb-client configurations
#
-if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then
+if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "profitbricks-build4-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