Files
fedora-infra_ansible/roles/bugzilla2fedmsg/templates/bugzilla2fedmsg.ini
Michal Konecny 7b58dfdce8 Remove fedmsg and github2fedmsg from staging
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.

I will create a separate one for production after this one is merged.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-04 09:13:40 +01:00

47 lines
1.6 KiB
INI

# moksha configuration without fedmsg
[app:main]
# Some configuration for our workers
bugzilla.products = Fedora, Fedora EPEL
bugzilla.num_workers = 1
moksha.workers_per_consumer = 2
moksha.threadpool_size = 5
# These are credentials used to log in to bugzilla
{% if env == 'staging' %}
bugzilla.url = https://bugzilla.stage.redhat.com
{% else %}
bugzilla.url = https://bugzilla.redhat.com
{% endif %}
bugzilla.username = {{ bugzilla_user }}
bugzilla.password = {{ bugzilla_password }}
# Stomp broker configuration.
{% if env == 'staging' %}
stomp_uri = messaging-devops-broker01.dist.stage.ext.phx2.redhat.com:61612,messaging-devops-broker02.dist.stage.ext.phx2.redhat.com:61612
stomp_ssl_crt = /etc/pki/fedmsg/msg-client-fedora-prod.crt
stomp_ssl_key = /etc/pki/fedmsg/msg-client-fedora-prod.key
stomp_user = {{ redhat_dmz_dev_broker_username }}
stomp_pass = {{ redhat_dmz_dev_broker_password }}
{% else %}
stomp_uri = messaging-devops-broker01.dist.prod.ext.phx2.redhat.com:61612,messaging-devops-broker02.dist.prod.ext.phx2.redhat.com:61612
stomp_ssl_crt = /etc/pki/fedmsg/msg-client-fedora-prod.crt
stomp_ssl_key = /etc/pki/fedmsg/msg-client-fedora-prod.key
stomp_user = {{ redhat_dmz_prod_broker_username }}
stomp_pass = {{ redhat_dmz_prod_broker_password }}
{% endif %}
# Override the topic set in the bugzilla2fedmsg app and subscribe to a queue declared here.
stomp_queue = /queue/Consumer.fedorainfra.DO-NOT-COPY.VirtualTopic.eng.bugzilla.>
stomp_heartbeat = 1000
moksha.monitoring.socket = ipc:///var/run/fedmsg/monitoring-moksha-hub.socket
moksha.monitoring.socket.mode = 770