Add configure fedmsg for pagure.
This commit is contained in:
parent
ef582e3a31
commit
ec99b89a1f
5 changed files with 40 additions and 0 deletions
|
@ -12,6 +12,15 @@ tcp_ports: [ 22, 80, 443, 9418,
|
||||||
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
|
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
|
||||||
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015 ]
|
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015 ]
|
||||||
|
|
||||||
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
||||||
|
fedmsg_certs:
|
||||||
|
- service: shell
|
||||||
|
owner: root
|
||||||
|
group: sysadmin
|
||||||
|
- service: pagure
|
||||||
|
owner: git
|
||||||
|
group: apache
|
||||||
|
|
||||||
fas_client_groups: sysadmin-noc,sysadmin-web
|
fas_client_groups: sysadmin-noc,sysadmin-web
|
||||||
|
|
||||||
freezes: false
|
freezes: false
|
||||||
|
|
|
@ -12,6 +12,15 @@ tcp_ports: [ 22, 80, 443, 9418,
|
||||||
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
|
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
|
||||||
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015 ]
|
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015 ]
|
||||||
|
|
||||||
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
||||||
|
fedmsg_certs:
|
||||||
|
- service: shell
|
||||||
|
owner: root
|
||||||
|
group: sysadmin
|
||||||
|
- service: pagure
|
||||||
|
owner: git
|
||||||
|
group: apache
|
||||||
|
|
||||||
fas_client_groups: sysadmin-noc,sysadmin-web
|
fas_client_groups: sysadmin-noc,sysadmin-web
|
||||||
|
|
||||||
freezes: false
|
freezes: false
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- pagure
|
- pagure
|
||||||
|
- fedmsg/base
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -89,6 +89,19 @@ config = dict(
|
||||||
for i in range(2)
|
for i in range(2)
|
||||||
],
|
],
|
||||||
|
|
||||||
|
# pagure runs as 4 procs and 4 threads, so 16 endpoints in total.
|
||||||
|
{% if env != 'staging' %}
|
||||||
|
"pagure.pagure01": [
|
||||||
|
"tcp://pagure01.fedoraproject.org:30%02i" % i
|
||||||
|
for i in range(16)
|
||||||
|
],
|
||||||
|
{% else %}
|
||||||
|
"pagure.pagure-stg01": [
|
||||||
|
"tcp://pagure-stg01.fedoraproject.org:30%02i" % i
|
||||||
|
for i in range(16)
|
||||||
|
],
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# mizdebsk says he thinks we'll need three sockets. Two services
|
# mizdebsk says he thinks we'll need three sockets. Two services
|
||||||
# (koschei-resolver and koschei-polling) are only sending messages, one
|
# (koschei-resolver and koschei-polling) are only sending messages, one
|
||||||
# service (koschei-watcher) can both send and receive them. The wsgi
|
# service (koschei-watcher) can both send and receive them. The wsgi
|
||||||
|
|
|
@ -175,6 +175,14 @@ config = dict(
|
||||||
("shell.koschei01", "shell-koschei01.%s" % suffix),
|
("shell.koschei01", "shell-koschei01.%s" % suffix),
|
||||||
("koschei.koschei01", "koschei-koschei01.%s" % suffix),
|
("koschei.koschei01", "koschei-koschei01.%s" % suffix),
|
||||||
|
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
("shell.pagure01", "shell-pagure01.fedoraproject.org"),
|
||||||
|
("pagure.pagure01", "pagure-pagure01.fedoraproject.org"),
|
||||||
|
{% else %}
|
||||||
|
("shell.pagure-stg01", "shell-pagure-stg01.fedoraproject.org"),
|
||||||
|
("pagure.pagure-stg01", "pagure-pagure-stg01.fedoraproject.org"),
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
("shell.elections01", "shell-elections01.%s" % suffix),
|
("shell.elections01", "shell-elections01.%s" % suffix),
|
||||||
("shell.elections02", "shell-elections02.%s" % suffix),
|
("shell.elections02", "shell-elections02.%s" % suffix),
|
||||||
("fedora_elections.elections01", "fedora_elections-elections01.%s" % suffix),
|
("fedora_elections.elections01", "fedora_elections-elections01.%s" % suffix),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue