summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/base
diff options
context:
space:
mode:
authorBrian Stinson <brian@bstinson.com>2017-05-11 15:46:48 -0500
committerKevin Fenzi <kevin@scrye.com>2017-05-11 20:59:06 +0000
commit64cf041fc2bd9f20596dda798153aba7a24c053e (patch)
treead89bc849bfb04b33cb701a75436670b0fa290f1 /roles/fedmsg/base
parentd0e264953b03c98eaafe414aed757b5879c43cee (diff)
downloadansible-64cf041fc2bd9f20596dda798153aba7a24c053e.tar.gz
ansible-64cf041fc2bd9f20596dda798153aba7a24c053e.tar.xz
ansible-64cf041fc2bd9f20596dda798153aba7a24c053e.zip
add the public fedmsg relay for ci.centos.org to the fedora staging infrastructure
Diffstat (limited to 'roles/fedmsg/base')
-rw-r--r--roles/fedmsg/base/tasks/main.yml1
-rw-r--r--roles/fedmsg/base/templates/endpoints-cico.py.j211
2 files changed, 12 insertions, 0 deletions
diff --git a/roles/fedmsg/base/tasks/main.yml b/roles/fedmsg/base/tasks/main.yml
index a2f855e78..a79abefeb 100644
--- a/roles/fedmsg/base/tasks/main.yml
+++ b/roles/fedmsg/base/tasks/main.yml
@@ -106,6 +106,7 @@
- ssl.py
- endpoints.py
- endpoints-anitya.py
+ - endpoints-cico.py
- endpoints-pagure.py
- endpoints-fedocal.py
- endpoints-fedbadges.py
diff --git a/roles/fedmsg/base/templates/endpoints-cico.py.j2 b/roles/fedmsg/base/templates/endpoints-cico.py.j2
new file mode 100644
index 000000000..68b0da061
--- /dev/null
+++ b/roles/fedmsg/base/templates/endpoints-cico.py.j2
@@ -0,0 +1,11 @@
+# This tells nodes to pull messages from ci.centos.org
+
+config = dict(
+ {% if env == 'staging' %}
+ endpoints={
+ "centos-ci-public-relay": [
+ "tcp://fedmsg-relay.ci.centos.org:9940",
+ ],
+ },
+ {% endif %}
+)