From 091d266f1630c0afa3b6d6604282c5ee6e2f6c26 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 12 May 2023 10:10:50 -0700 Subject: [PATCH] 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 --- playbooks/roles/mirror-update/files/fedora-mirror-update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/roles/mirror-update/files/fedora-mirror-update b/playbooks/roles/mirror-update/files/fedora-mirror-update index 230d60beac..fd6335693c 100755 --- a/playbooks/roles/mirror-update/files/fedora-mirror-update +++ b/playbooks/roles/mirror-update/files/fedora-mirror-update @@ -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