From b5bb9790b4dd72c3fd23d409ac9c6ecb5c978939 Mon Sep 17 00:00:00 2001 From: danpawlik Date: Thu, 12 Mar 2020 14:43:38 +0100 Subject: [PATCH] Added new Fedora release to mirroring Some jobs are using Fedora 29 release, which is deprecated. Create new mirror with release 31 and wait for changing job rules. Change-Id: I418f4c815d337c2b1edd0df1aa065536d992cb62 --- playbooks/roles/mirror-update/files/fedora-mirror-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/mirror-update/files/fedora-mirror-update b/playbooks/roles/mirror-update/files/fedora-mirror-update index 55ff7e824b..1e02903b55 100755 --- a/playbooks/roles/mirror-update/files/fedora-mirror-update +++ b/playbooks/roles/mirror-update/files/fedora-mirror-update @@ -43,10 +43,11 @@ K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}" echo_ts "----- START FEDORA MIRROR RSYNC RUN -----" # Purge old releases +# NOTE(dpawlik) Add releases/29 when all jobs are updated echo_ts "Purging old mirrors" $K5START rm -rf $BASE/releases/28 $BASE/updates/28 -for REPO in releases/29 releases/30; do +for REPO in releases/29 releases/30 releases/31; do if ! [ -f $BASE/$REPO ]; then $K5START mkdir -p $BASE/$REPO fi