From bc858421666b8afc769e4c1e4c4f72e58862f53c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 28 Mar 2019 15:18:20 +0100 Subject: [PATCH] Be permissive with tumbleweed mirroring for now We mainly focus on opensuse leap, so having those mirrors up to date is more important than tumbleweed. We need to avoid tumbleweed blocking the rest of the sync, so we are permissive with errors there for now. Change-Id: If15b0f65d7f4a470d9274be41b3d921d7709f19a --- .../openstack_project/files/mirror/opensuse-mirror-update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/files/mirror/opensuse-mirror-update.sh b/modules/openstack_project/files/mirror/opensuse-mirror-update.sh index ab7d1c40b5..52310a4cea 100644 --- a/modules/openstack_project/files/mirror/opensuse-mirror-update.sh +++ b/modules/openstack_project/files/mirror/opensuse-mirror-update.sh @@ -102,11 +102,13 @@ fi date --iso-8601=ns echo "Running rsync distribution $REPO ..." +# TW is large and can have failures, be more resilient $K5START rsync -rlptDvz \ --delete --stats \ --delete-excluded \ --exclude="i586" \ - $MIRROR/$REPO/repo/oss/ $BASE/$REPO/repo/oss/ + --ignore-errors \ + $MIRROR/$REPO/repo/oss/ $BASE/$REPO/repo/oss/ || : REPO=update/tumbleweed if ! [ -f $BASE/$REPO ]; then @@ -120,6 +122,7 @@ $K5START rsync -rlptDvz \ --delete --stats \ --delete-excluded \ --exclude="i586" \ + --ignore-errors \ rsync://rsync.opensuse.org/buildservice-repos-main/openSUSE:/Factory:/Update/standard/ \ $BASE/$REPO || :