From 757aebbfc3cb661372b5bd98c58d91c12fc9bf6a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 16 Oct 2019 08:00:56 +0200 Subject: [PATCH] Stop openSUSE 42.3 mirroring openSUSE 42.3 is removed from Infra, remove it from mirroring as well. Change-Id: I60c77fd48e55edbacd589c2f94de977a034eb9c9 --- .../roles/mirror-update/files/opensuse-mirror-update | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/playbooks/roles/mirror-update/files/opensuse-mirror-update b/playbooks/roles/mirror-update/files/opensuse-mirror-update index 8107ec38c0..975750ef2e 100755 --- a/playbooks/roles/mirror-update/files/opensuse-mirror-update +++ b/playbooks/roles/mirror-update/files/opensuse-mirror-update @@ -26,13 +26,10 @@ BASE="/afs/.openstack.org/mirror/opensuse" MIRROR="rsync://mirrors.rit.edu/opensuse" OBS_MIRROR="rsync://provo-mirror.opensuse.org/opensuse/repositories" OBS_REPOS=( - 'Virtualization:/containers/openSUSE_Leap_42.3' 'Virtualization:/containers/openSUSE_Leap_15.0' 'Virtualization:/containers:/images:/openSUSE-Leap-15.0' - 'Cloud:/OpenStack:/Queens/openSUSE_Leap_42.3' 'Cloud:/OpenStack:/Queens/openSUSE_Leap_15.0' - 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3' 'Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0' 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0' 'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1' @@ -47,14 +44,16 @@ 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.2 update/leap/42.2 \ distribution/leap/15.0/jeos distribution/leap/15.0/live \ - repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_42.3 ; do + 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 if [ -d $BASE/$REPO ]; then $K5START rm -rf $BASE/$REPO fi done -# NOTE(hwoarang): 15.1 is newer than 15.0 is newer than 42.3. -for DISTVER in 42.3 15.0 15.1; do +for DISTVER in 15.0 15.1; do REPO=distribution/leap/$DISTVER/repo if ! [ -f $BASE/$REPO ]; then $K5START mkdir -p $BASE/$REPO