Remove mirroring of openSUSE 15.0

openSUSE 15.0 has been removed from infra, remove it from mirrors as
well.

Change-Id: I0ce4a2cf27963c0a63c86b6705c16e379eafc627
This commit is contained in:
Andreas Jaeger 2019-11-13 20:33:54 +01:00
parent 16c06894ef
commit d2095d96b7

View File

@ -26,14 +26,7 @@ BASE="/afs/.openstack.org/mirror/opensuse"
MIRROR="rsync://mirrors.rit.edu/opensuse" MIRROR="rsync://mirrors.rit.edu/opensuse"
OBS_MIRROR="rsync://provo-mirror.opensuse.org/opensuse/repositories" OBS_MIRROR="rsync://provo-mirror.opensuse.org/opensuse/repositories"
OBS_REPOS=( OBS_REPOS=(
'Virtualization:/containers/openSUSE_Leap_15.0'
'Virtualization:/containers:/images:/openSUSE-Leap-15.0'
'Cloud:/OpenStack:/Queens/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1' 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1'
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1' 'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1'
# NOTE(yoctozepto): kolla uses the following for hacluster # NOTE(yoctozepto): kolla uses the following for hacluster
@ -43,7 +36,13 @@ K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- $TIMEOUT"
# NOTE(hwoarang): Ensure old distros are not mirrored aymore # NOTE(hwoarang): Ensure old distros are not mirrored aymore
for REPO in distribution/leap/42.2 update/leap/42.2 \ for REPO in distribution/leap/42.2 update/leap/42.2 \
distribution/leap/15.0/jeos distribution/leap/15.0/live \ repositories/Virtualization:/containers/openSUSE_Leap_15.0 \
repositories/Virtualization:/containers:/images:/openSUSE-Leap-15.0 \
repositories/Cloud:/OpenStack:/Queens/openSUSE_Leap_15.0 \
repositories/Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0 \
repositories/Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0 \
repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_15.0 \
distribution/leap/15.0/ \
repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_42.3 \ repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_42.3 \
repositories/Cloud:/OpenStack:/Queens/openSUSE_Leap_42.3 \ repositories/Cloud:/OpenStack:/Queens/openSUSE_Leap_42.3 \
repositories/Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3 \ repositories/Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3 \
@ -53,7 +52,7 @@ for REPO in distribution/leap/42.2 update/leap/42.2 \
fi fi
done done
for DISTVER in 15.0 15.1; do for DISTVER in 15.1; do
REPO=distribution/leap/$DISTVER/repo REPO=distribution/leap/$DISTVER/repo
if ! [ -f $BASE/$REPO ]; then if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO $K5START mkdir -p $BASE/$REPO