diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2017-04-11 21:46:02 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2017-04-11 21:46:08 +0000 |
| commit | 7892e003612493c0f7c9ff9637107244276492cd (patch) | |
| tree | 35b57a96463618f0665a9c7d908f2fc50aa5b18d | |
| parent | bf3e1bf6c58a419e466db4c7c615c09d450f5e00 (diff) | |
| download | ansible-7892e003612493c0f7c9ff9637107244276492cd.tar.gz ansible-7892e003612493c0f7c9ff9637107244276492cd.tar.xz ansible-7892e003612493c0f7c9ff9637107244276492cd.zip | |
move budget.fedoraproject.org to pull from pagure in staging
| -rw-r--r-- | roles/fedora-web/build/files/syncStatic.stg.sh | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/roles/fedora-web/build/files/syncStatic.stg.sh b/roles/fedora-web/build/files/syncStatic.stg.sh index 0b928f9e4..86198df5c 100644 --- a/roles/fedora-web/build/files/syncStatic.stg.sh +++ b/roles/fedora-web/build/files/syncStatic.stg.sh @@ -46,8 +46,8 @@ cd /srv/web/fedora-websites /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1 /usr/bin/git checkout -q f26-alpha || exit 1 - /usr/bin/git pull -q --ff-only || exit 1 + build spins.fedoraproject.org build labs.fedoraproject.org build arm.fedoraproject.org @@ -62,12 +62,23 @@ popd > /dev/null /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1 /usr/bin/git checkout -q master || exit 1 - /usr/bin/git pull -q --ff-only || exit 1 build boot.fedoraproject.org build fedoracommunity.org build fudcon.fedoraproject.org build start.fedoraproject.org -build budget.fedoraproject.org build flocktofedora.org + +if [ ! -d /srv/web/budget.fedoraproject.org/.git ] +then + /usr/bin/git clone -q \ + https://pagure.io/fedora-budget-site.git \ + /srv/web/budget.fedoraproject.org +fi + +cd /srv/web/budget.fedoraproject.org +/usr/bin/git clean -q -fdx || exit 1 +/usr/bin/git reset -q --hard || exit 1 +/usr/bin/git checkout -q stg || exit 1 +/usr/bin/git pull -q --ff-only || exit 1 |
