Recently the websites repository switched from fedorahosted to pagure and we want to build websites now from there also for production.
Actually the websites in staging are built from pagure and we don't have any issues so far. In order to sync out all the activity, as we are moving more and more to Alpha, we want to switch as soon as possible.
The change is just a different checkout in our build script on sundries01.
Thank you.
diff --git a/roles/fedora-web/build/files/syncStatic.sh b/roles/fedora-web/build/files/syncStatic.sh
index 91c988b..be63c09 100644
--- a/roles/fedora-web/build/files/syncStatic.sh
+++ b/roles/fedora-web/build/files/syncStatic.sh
@@ -24,11 +24,11 @@ function build {
return $rc;
}
-if [ ! -d /srv/web/fedora-web/.git ]
+if [ ! -d /srv/web/fedora-websites/.git ]
then
/usr/bin/git clone -q \
- git://git.fedorahosted.org/fedora-web.git \
- /srv/web/fedora-web
+ /srv/web/fedora-websites
fi
# Freeze the website to prepare beta changes. On release day, comment the git
@@ -41,7 +41,7 @@ fi
#
# Good luck!
-cd /srv/web/fedora-web
+cd /srv/web/fedora-websites
/usr/bin/git clean -q -fdx || exit 1
/usr/bin/git reset -q --hard || exit 1
--
Robert Mayr
(robyduck)
(robyduck)
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx