]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build: do not rely on apt-mirror.sepia.ceph.com 239/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 23 Nov 2015 22:59:17 +0000 (15:59 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 24 Nov 2015 14:41:10 +0000 (07:41 -0700)
The pbuilder steps in the ceph-build job relied on
apt-mirror.sepia.ceph.com. Remove this dependency, and point at the main
alias for the US-based Ubuntu mirrors instead.

ceph-build/build/setup_pbuilder

index f65a8e2a53677e3e44ec855988675922c844d66d..9c2ae161444833040d5b092b7890edadd02f9abc 100755 (executable)
@@ -31,15 +31,9 @@ os="debian"
 [ "$DIST" = "trusty" ] && os="ubuntu"
 
 if [ $os = "debian" ]; then
-    # We used to consume from an internal mirror
-    # ("http://apt-mirror.sepia.ceph.com/ftp.us.debian.org/debian") but given
-    # that it has caused us issues before (e.g. packages out of date) and that
-    # it currently does not have Jessie we are going to use a public mirror.
     mirror="http://www.gtlib.gatech.edu/pub/debian"
-    othermirror=""
 else
-    mirror=""
-    othermirror="deb http://apt-mirror.sepia.ceph.com/archive.ubuntu.com/ubuntu $DIST main restricted universe multiverse"
+    mirror="http://us.archive.ubuntu.com/ubuntu"
 fi
 
 # ensure that the tgz is valid, otherwise remove it so that it can be recreated
@@ -63,13 +57,11 @@ if [ -e $basedir/$DIST.tgz ]; then
     sudo pbuilder update \
     --basetgz $basedir/$DIST.tgz \
     --distribution $DIST \
-    --mirror "$mirror" \
-    --othermirror "$othermirror"
+    --mirror "$mirror"
 else
     echo building $DIST base.tgz
     sudo pbuilder create \
     --basetgz $basedir/$DIST.tgz \
     --distribution $DIST \
-    --mirror "$mirror" \
-    --othermirror "$othermirror"
+    --mirror "$mirror"
 fi