Merge "Start mirroring openSUSE Leap 15.1"

This commit is contained in:
Zuul 2019-05-27 07:33:25 +00:00 committed by Gerrit Code Review
commit 459bc1ab4f
1 changed files with 5 additions and 3 deletions

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