[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: ignore hostname spectrum for test setup
Holger Levsen
holger at layer-acht.org
Tue Jun 7 10:35:42 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 35df7893c19e451de920ac3274aad812b00064ff
Author: Valerie R Young <spectranaut at riseup.net>
Date: Mon Jun 6 13:28:49 2016 -0400
reproducible debian: ignore hostname spectrum for test setup
---
bin/common-functions.sh | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index ad4a613..4bc4f47 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -53,18 +53,29 @@ else
if [ -z "$LC_ALL" ]; then
export LC_ALL=C.UTF-8
fi
+
if [ -z "$MIRROR" ]; then
case $HOSTNAME in
- jenkins|jenkins-test-vm|profitbricks-build*) export MIRROR=http://ftp.de.debian.org/debian ;;
- bbx15|bpi0|cb3*|cbxi4*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*) export MIRROR=http://ftp.us.debian.org/debian ;;
- *) echo "unsupported host, exiting." ; exit 1 ;;
+ jenkins|jenkins-test-vm|profitbricks-build*)
+ export MIRROR=http://ftp.de.debian.org/debian ;;
+ bbx15|bpi0|cb3*|cbxi4*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*)
+ export MIRROR=http://ftp.us.debian.org/debian ;;
+ spectrum)
+ export MIRROR=none ;;
+ *)
+ echo "unsupported host, exiting." ; exit 1 ;;
esac
fi
if [ -z "$http_proxy" ]; then
case $HOSTNAME in
- jenkins|jenkins-test-vm|profitbricks-build*) export http_proxy="http://localhost:3128" ;;
- bbx15|bpi0|cb3*|cbxi4*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*) export http_proxy="http://10.0.0.15:8000/" ;;
- *) echo "unsupported host, exiting." ; exit 1 ;;
+ jenkins|jenkins-test-vm|profitbricks-build*)
+ export http_proxy="http://localhost:3128" ;;
+ bbx15|bpi0|cb3*|cbxi4*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*)
+ export http_proxy="http://10.0.0.15:8000/" ;;
+ spectrum)
+ export MIRROR=none ;;
+ *)
+ echo "unsupported host, exiting." ; exit 1 ;;
esac
fi
if [ -z "$CHROOT_BASE" ]; then
--
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