Cleanup fedora mirroring

We don't have fedora 37 images but are mirroring fedora 37. Clean up
this mirroring because if we add new up to date images we will add
fedora 38 and skip 37 entirely.

Also, while we are at it remove rawhide mirror content since we're
running up against AFS disk capacity and this will help clean up some
extra content that appears to be unused.

Change-Id: Ie845f4e1a87fb9b0c6a0d2ed86227273ff8a45d8
This commit is contained in:
Clark Boylan 2023-05-12 10:10:50 -07:00
parent 6a0d6bbbb0
commit 091d266f16
1 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@ echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
# Purge old releases
echo_ts "Purging old mirrors"
$K5START rm -rf $BASE/releases/35 $BASE/updates/35
$K5START rm -rf $BASE/releases/35 $BASE/updates/35 $BASE/releases/37 $BASE/updates/37 $BASE/development/rawhide
for REPO in releases/36 releases/37 development/rawhide; do
for REPO in releases/36; do
if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO
fi
@ -72,7 +72,7 @@ for REPO in releases/36 releases/37 development/rawhide; do
echo_ts "... done"
done
for REPO in updates/36 updates/37; do
for REPO in updates/36; do
if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO
fi