Stop mirroring opensuse leap 15.1
We've converted our opensuse leap 15 image to 15.2. If things look good we should be clear to stop mirroring 15.1. Change-Id: Id31a3b57f48a5be671c76a76d5c48b4ef5000c3e
This commit is contained in:
parent
2cd5ebb815
commit
de9b4d9186
@ -28,8 +28,6 @@ BASE="/afs/.openstack.org/mirror/opensuse"
|
||||
MIRROR="rsync://mirror.us.leaseweb.net/opensuse"
|
||||
OBS_MIRROR="rsync://provo-mirror.opensuse.org/opensuse/repositories"
|
||||
OBS_REPOS=(
|
||||
'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1'
|
||||
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1'
|
||||
'Cloud:/OpenStack:/Ussuri/openSUSE_Leap_15.2'
|
||||
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.2'
|
||||
|
||||
@ -39,24 +37,15 @@ OBS_REPOS=(
|
||||
K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- $TIMEOUT"
|
||||
|
||||
# NOTE(hwoarang): Ensure old distros are not mirrored aymore
|
||||
for REPO in distribution/leap/42.3 update/leap/42.3 update/leap/15.0 \
|
||||
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:/Queens/openSUSE_Leap_42.3 \
|
||||
repositories/Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3 \
|
||||
repositories/Virtualization:/containers/openSUSE_Leap_42.3 ; do
|
||||
for REPO in distribution/leap/15.1 update/leap/15.1 \
|
||||
repositories/Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1 \
|
||||
repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_15.1 ; do
|
||||
if [ -d $BASE/$REPO ]; then
|
||||
$K5START rm -rf $BASE/$REPO
|
||||
fi
|
||||
done
|
||||
|
||||
for DISTVER in 15.1 15.2 ; do
|
||||
for DISTVER in 15.2 ; do
|
||||
REPO=distribution/leap/$DISTVER/repo
|
||||
if ! [ -f $BASE/$REPO ]; then
|
||||
$K5START mkdir -p $BASE/$REPO
|
||||
|
Loading…
Reference in New Issue
Block a user