copr: generate queue id with uuidgen as suggested

This commit is contained in:
Jakub Kadlcik 2019-12-05 07:35:35 +01:00 committed by Pierre-Yves Chibon
parent 8a8565e3fb
commit e4b97f2da9
3 changed files with 8 additions and 2 deletions

View file

@ -39,3 +39,6 @@ csi_purpose: Provide the backend for copr (3rd party packages)
csi_relationship: |
- Backend: Management of copr cloud infrastructure (OpenStack).
- Small frontend with copr's public stats
copr_messaging_queue: "a9b74258-21c6-4e79-ba65-9e858dc84a2b"

View file

@ -44,3 +44,6 @@ letsencrypt:
- copr-be-dev.cloud.fedoraproject.org
challenge_dir: /var/lib/copr/public_html
mail: copr-devel@lists.fedorahosted.org
copr_messaging_queue: "c8e11df7-e863-4ca4-99b9-d37c6663c7f7"

View file

@ -33,14 +33,14 @@ arguments = {}
#
# If you require a stronger guarantee about delivery, please talk to Fedora's
# Infrastructure team.
[queues.00000000-0000-0000-0000-000000000000]
[queues.{{ copr_messaging_queue }}]
durable = false
auto_delete = true
exclusive = true
arguments = {}
[[bindings]]
queue = "00000000-0000-0000-0000-000000000000"
queue = "{{ copr_messaging_queue }}"
exchange = "amq.topic"
routing_keys = [
'io.pagure.prod.pagure.git.receive',