summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-12-11 18:22:15 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-11 19:13:46 +0100
commit04ed7b1fdd54f87fb6a1bf4d1138200e5ee5b3ed (patch)
treec53d2f6ace598e44bf80eaaf779ebd14a38ab59f /update_jdn.sh
parent1b168621c6a942fa88769b255133dc017c454833 (diff)
downloadjenkins.debian.net-04ed7b1fdd54f87fb6a1bf4d1138200e5ee5b3ed.tar.xz
let jenkins-test-vm do some work (modified by h01ger)
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index d4c1879f..7c3ef171 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -18,6 +18,17 @@ explain() {
echo "$HOSTNAME: $1"
}
+conditional_disable() {
+ if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+ case "$1" in
+ piuparts.yaml) return 1;;
+ d-i.yaml) return 1;;
+ *) return 0;;
+ esac
+ fi
+ return 1
+}
+
echo "--------------------------------------------"
explain "$(date) - begin deployment update."
@@ -170,7 +181,7 @@ if [ -f /etc/debian_version ] ; then
zsh
"
case $HOSTNAME in
- jenkins|profitbricks-build?-amd64) DEBS="$DEBS squid3" ;;
+ jenkins|jenkins-test-vm|profitbricks-build?-amd64) DEBS="$DEBS squid3" ;;
*) ;;
esac
# needed to run the 2nd reproducible builds nodes in the future...
@@ -439,6 +450,7 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
rm -f $TMPFILE
for config in *.yaml ; do
if [ $config -nt $STAMP ] || [ ! -f $STAMP ] ; then
+ conditional_disable $config && continue
$JJB update $config
else
echo "$config has not changed, nothing to do."