[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: make install script fail if /srv/workspace is not setup as it should on i386 nodes…
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 28 16:41:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit dacfe978e042e5353d223a0c13025a2aae73d2b6
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 28 12:40:25 2016 -0400
reproducible debian: make install script fail if /srv/workspace is not setup as it should on i386 nodes…
---
update_jdn.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 841f589..9f9b396 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -106,7 +106,13 @@ case $HOSTNAME in
*) ;;
esac
case $HOSTNAME in
- jenkins|profitbricks-build*)
+ profitbricks-build*i386)
+ if ! grep -q '/srv/workspace' /etc/fstab; then
+ echo "Warning: you need to manually create a /srv/workspace partition on i386 nodes, exiting."
+ exit 1
+ fi
+ ;;
+ jenkins|profitbricks-build*amd64)
if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then
echo "tmpfs /srv/workspace tmpfs defaults,size=${TMPFSSIZE}g 0 0" | sudo tee -a /etc/fstab >/dev/null
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list