From fa5d3a469f52d533f4b14edb34af16a9d522a4ac Mon Sep 17 00:00:00 2001 From: Robert Mayr Date: Mon, 5 Sep 2016 21:32:34 +0000 Subject: [PATCH] test out the first FMW idea on staging --- roles/fedora-web/build/files/syncStatic.stg.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/fedora-web/build/files/syncStatic.stg.sh b/roles/fedora-web/build/files/syncStatic.stg.sh index 135c74734e..703ca8dc8a 100644 --- a/roles/fedora-web/build/files/syncStatic.stg.sh +++ b/roles/fedora-web/build/files/syncStatic.stg.sh @@ -51,7 +51,6 @@ cd /srv/web/fedora-websites build spins.fedoraproject.org build labs.fedoraproject.org build arm.fedoraproject.org -build getfedora.org /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1 @@ -59,6 +58,12 @@ build getfedora.org /usr/bin/git pull -q --ff-only || exit 1 build alt.fedoraproject.org +/usr/bin/git clean -q -fdx || exit 1 +/usr/bin/git reset -q --hard || exit 1 +/usr/bin/git checkout -q fmw-test || exit 1 +/usr/bin/git pull -q --ff-only || exit 1 +build getfedora.org + pushd mirrors.fedoraproject.org > /dev/null rsync -qa --delete-after --delay-updates . /srv/web/mirrors.fedoraproject.org/ popd > /dev/null