diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-26 19:59:55 -0600 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-26 19:59:55 -0600 |
commit | 03bf4891ebbb5f057b57f8e3d9b5e6f83f23a025 (patch) | |
tree | debd039833592b7278ec6bf647f198fe8c723bcb /update_jdn.sh | |
parent | ba0fbd0895f04b1acf7f3df57b9f503e3014731d (diff) | |
download | jenkins.debian.net-03bf4891ebbb5f057b57f8e3d9b5e6f83f23a025.tar.xz |
reproducible openwrt/netbsd/coreboot/archlinux: also install and configure kgb-client on pb-build3
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-x | update_jdn.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index b059f6ba..d5d82f54 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -152,7 +152,7 @@ if [ -f /etc/debian_version ] ; then esac # needed to run coreboot/openwrt/netbsd jobs case $HOSTNAME in - profitbricks-build3-amd64) DEBS="$DEBS bison cmake diffutils findutils flex g++ gawk gcc git grep iasl libc6-dev m4 make subversion unzip util-linux zlib1g-dev libncurses5-dev libssl-dev locales-all" ;; + profitbricks-build3-amd64) DEBS="$DEBS bison cmake diffutils findutils flex g++ gawk gcc git grep iasl libc6-dev m4 make subversion unzip util-linux zlib1g-dev libncurses5-dev libssl-dev locales-all kgb-client" ;; *) ;; esac if [ "$HOSTNAME" = "jenkins" ] ; then @@ -180,6 +180,7 @@ if [ -f /etc/debian_version ] ; then iasl imagemagick ip2host + kgb-client libapache2-mod-macro libav-tools libcap2-bin @@ -405,10 +406,12 @@ if [ "$HOSTNAME" = "jenkins" ] ; then sudo vgcreate $VGNAME $PVNAME fi fi - - # - # generate the kgb-client configurations - # +fi + +# +# generate the kgb-client configurations +# +if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-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 |