Start mirroring openSUSE Leap 15.1

openSUSE Leap 15.1 was released May 23rd, 2019 and we want to switch
the nodepool jobs against this asap in order to be able to remove
openSUSE Leap 42.3 (End of Life in June 2019) and eventually
openSUSE Leap 15.0 as well once all users have been converted over.

Change-Id: Ia2f8b9f4073a247875c97eafd80204e291affb8e
This commit is contained in:
Dirk Mueller 2019-05-20 16:11:58 +02:00 committed by Jean-Philippe Evrard
parent 5e908c739b
commit 48334c6a40

View File

@ -33,7 +33,9 @@ OBS_REPOS=('Virtualization:/containers/openSUSE_Leap_42.3'
'Cloud:/OpenStack:/Rocky/openSUSE_Leap_42.3'
'Cloud:/OpenStack:/Rocky/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.0')
'Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1'
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.0'
'Cloud:/OpenStack:/Master/openSUSE_Leap_15.1')
K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- $TIMEOUT"
# NOTE(hwoarang): Ensure old distros are not mirrored aymore
@ -46,8 +48,8 @@ for REPO in \
fi
done
# NOTE(hwoarang): 15.0 is newer than 42.3.
for DISTVER in 42.3 15.0; do
# NOTE(hwoarang): 15.1 is newer than 15.0 is newer than 42.3.
for DISTVER in 42.3 15.0 15.1; do
REPO=distribution/leap/$DISTVER/repo
if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO