Re: Freeze break: build production websites from pagure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux