On Thu, 10 Nov 2016 14:59:22 -0500
Ricky Elrod <codeblock(a)elrod.me> wrote:
I'd like to:
- Add the fedfind dep for the websites build on sundries
- Enable the json-releases build task in syncStatic for stg
- Run the sundries playbook
Sorry for missing this. ;(
+1 here
kevin
--
Commits for the first two tasks follow:
commit d892719a2395cd34d1e3c7e979899461e74e941b
Author: Ricky Elrod <codeblock(a)fedoraproject.org>
Date: Thu Nov 10 19:37:58 2016 +0000
add new fedfind dep for websites - needed for release json
Signed-off-by: Ricky Elrod <codeblock(a)fedoraproject.org>
diff --git a/roles/fedora-web/build/tasks/main.yml
b/roles/fedora-web/build/tasks/main.yml
index 4fc92e6..903f341 100644
--- a/roles/fedora-web/build/tasks/main.yml
+++ b/roles/fedora-web/build/tasks/main.yml
@@ -2,6 +2,7 @@
yum: pkg={{ item }} state=present
with_items:
- babel
+ - fedfind
- git
- python-feedparser
- python-genshi
commit 053c0d75d9a4ca6a01a1ab41185a5fb6fc7e481b
Author: Ricky Elrod <codeblock(a)fedoraproject.org>
Date: Thu Nov 10 19:48:52 2016 +0000
build releases.json in stg
Signed-off-by: Ricky Elrod <codeblock(a)fedoraproject.org>
diff --git a/roles/fedora-web/build/files/syncStatic.stg.sh
b/roles/fedora-web/build/files/syncStatic.stg.sh
index ef2446d..c62036c 100644
--- a/roles/fedora-web/build/files/syncStatic.stg.sh
+++ b/roles/fedora-web/build/files/syncStatic.stg.sh
@@ -53,6 +53,13 @@ build
labs.fedoraproject.org
build
arm.fedoraproject.org
build
getfedora.org
+# Temporary: Build releases.json here and copy it over.
+# This will eventually move to a daily cron.
+cd
getfedora.org
+make json-releases
+rsync -qa --delete-after --delay-updates out/releases.json
/srv/web/getfedora.org/
+cd ..
+
/usr/bin/git clean -q -fdx || exit 1
/usr/bin/git reset -q --hard || exit 1
/usr/bin/git checkout -q alt-rewrite || exit 1