Add Fedora Quality Planet
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
98c799fd31
commit
632fa8f252
5 changed files with 60 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
<a href="/design" class="dropdown-item">Design</a>
|
||||
<a href="/summer-coding" class="dropdown-item">Summer Coding</a>
|
||||
<a href="/security" class="dropdown-item">Security</a>
|
||||
<a href="/quality" class="dropdown-item">Quality</a>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item"><a href="https://fedoraproject.org/wiki/Planet_HowTo" class="nav-link">Add Blog</a></li>
|
||||
|
|
26
roles/planet/files/sub-planets/quality/base_config
Normal file
26
roles/planet/files/sub-planets/quality/base_config
Normal file
|
@ -0,0 +1,26 @@
|
|||
[Planet]
|
||||
name = Fedora Quality Planet
|
||||
link = http://fedoraplanet.org/quality/
|
||||
owner_name = Fedora Admin
|
||||
owner_email = admin@fedoraproject.org
|
||||
cache_directory = /srv/planet/config/quality/cache
|
||||
template_files = /srv/planet/config/people/templates/index.html.tmpl /srv/planet/config/people/templates/rss20.xml.tmpl /srv/planet/config/people/templates/rss10.xml.tmpl /srv/planet/config/people/templates/opml.xml.tmpl /srv/planet/config/people/templates/foafroll.xml.tmpl /srv/planet/config/people/templates/atom.xml.tmpl /srv/planet/config/people/templates/heads.html.tmpl
|
||||
output_dir = /srv/planet/site/quality
|
||||
items_per_page = 50
|
||||
log_level = ERROR
|
||||
date_format = %B %d, %Y %I:%M %p
|
||||
spider_threads=20
|
||||
#
|
||||
# [DEFAULT]
|
||||
# facewidth = 64
|
||||
# faceheight = 64
|
||||
#
|
||||
# [http://www.blog.com/rss]
|
||||
# face = foo.png
|
||||
# faceheight = 32
|
||||
#
|
||||
# The facewidth of the defined blog defaults to 64.
|
||||
|
||||
[DEFAULT]
|
||||
face = http://fedoraplanet.org/images/heads/default.png
|
||||
|
4
roles/planet/files/sub-planets/quality/fpbuilder.conf
Normal file
4
roles/planet/files/sub-planets/quality/fpbuilder.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
[main]
|
||||
base_config=/etc/planet/quality/base_config
|
||||
output=/srv/planet/site/quality/planet.ini
|
||||
group=quality
|
2
roles/planet/files/sub-planets/quality/planet-group.cron
Normal file
2
roles/planet/files/sub-planets/quality/planet-group.cron
Normal file
|
@ -0,0 +1,2 @@
|
|||
*/20 * * * * planet-user bash /usr/local/bin/pull-run-planet-config.sh /etc/planet/quality/fpbuilder.conf >>/dev/null 2>&1
|
||||
10 4 * * * * planet-user /usr/sbin/tmpwatch 360 /srv/planet/config/quality/cache >>/dev/null
|
|
@ -260,3 +260,30 @@
|
|||
copy: src=sub-planets/summer-coding/base_config dest=/etc/planet/summer-coding/base_config mode=0644 owner=root group=root
|
||||
tags:
|
||||
- planet_server
|
||||
#
|
||||
#
|
||||
# QA
|
||||
#
|
||||
|
||||
- name: create planet directory (quality)
|
||||
file: path={{ item }} state=directory owner=planet-user group=web mode=0775
|
||||
with_items:
|
||||
- /etc/planet/quality
|
||||
- /srv/planet/config/quality
|
||||
- /srv/planet/config/quality/cache
|
||||
- /srv/planet/site/quality
|
||||
|
||||
- name: copy the planet cron job (quality)
|
||||
copy: src=sub-planets/quality/planet-group.cron dest=/etc/cron.d/planet-quality.cron
|
||||
tags:
|
||||
- planet_server
|
||||
|
||||
- name: copy the planet fpbulder.conf (quality)
|
||||
copy: src=sub-planets/quality/fpbuilder.conf dest=/etc/planet/quality/fpbuilder.conf
|
||||
tags:
|
||||
- planet_server
|
||||
|
||||
- name: copy the planet base_config (quality)
|
||||
copy: src=sub-planets/quality/base_config dest=/etc/planet/quality/base_config mode=0644 owner=root group=root
|
||||
tags:
|
||||
- planet_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue