On Wed, Mar 09, 2016 at 10:08:58PM +0100, Robert Mayr wrote:
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
+ Â Â Â Â https://pagure.io/fedora-websites.git \
+ Â Â Â Â /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
Looks good to me
And the earlier the better I think for this change (so that we can roll-back
early if we find problems)
Pierre