[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: define MIRRORSITE dynamically
Holger Levsen
holger at moszumanska.debian.org
Tue Aug 4 12:15:06 UTC 2015
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 9c4de9ec35d6061113b08206d74a3425d0f01b2d
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Aug 4 14:13:58 2015 +0200
reproducible: define MIRRORSITE dynamically
---
hosts/{jenkins => bpi0-armhf-rb}/etc/pbuilderrc | 6 +++++-
hosts/{jenkins => cbxi4pro0-armhf-rb}/etc/pbuilderrc | 6 +++++-
hosts/{jenkins => hb0-armhf-rb}/etc/pbuilderrc | 6 +++++-
hosts/jenkins/etc/pbuilderrc | 6 +++++-
hosts/{jenkins => wbq0-armhf-rb}/etc/pbuilderrc | 6 +++++-
5 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/bpi0-armhf-rb/etc/pbuilderrc
similarity index 82%
copy from hosts/jenkins/etc/pbuilderrc
copy to hosts/bpi0-armhf-rb/etc/pbuilderrc
index 6812ce2..41aedae 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/bpi0-armhf-rb/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc
similarity index 82%
copy from hosts/jenkins/etc/pbuilderrc
copy to hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc
index 6812ce2..41aedae 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/hb0-armhf-rb/etc/pbuilderrc
similarity index 82%
copy from hosts/jenkins/etc/pbuilderrc
copy to hosts/hb0-armhf-rb/etc/pbuilderrc
index 6812ce2..41aedae 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/hb0-armhf-rb/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/jenkins/etc/pbuilderrc
index 6812ce2..41aedae 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/jenkins/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/wbq0-armhf-rb/etc/pbuilderrc
similarity index 82%
copy from hosts/jenkins/etc/pbuilderrc
copy to hosts/wbq0-armhf-rb/etc/pbuilderrc
index 6812ce2..41aedae 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/wbq0-armhf-rb/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"
--
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