[PATCH v2] rabbitmq: add coreos queue

2019-09-20 Thread Jonathan Lebon
This is needed for CoreOS-specific messages. See
https://pagure.io/fedora-infrastructure/issue/8227.

Reviewed-by: Aurelien Bompard 
---
 roles/rabbitmq_cluster/tasks/apps.yml | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/roles/rabbitmq_cluster/tasks/apps.yml 
b/roles/rabbitmq_cluster/tasks/apps.yml
index 1f2f5af55..ec743defc 100644
--- a/roles/rabbitmq_cluster/tasks/apps.yml
+++ b/roles/rabbitmq_cluster/tasks/apps.yml
@@ -3,9 +3,12 @@
 #
 
 
-- name: CoreOS user
+- name: CoreOS queue
   run_once: true
   include_role:
-name: rabbit/user
+name: rabbit/queue
   vars:
 username: coreos{{ env_suffix }}
+queue_name: coreos{{ env_suffix }}
+routing_keys:
+  - "org.fedoraproject.*.coreos.build.request.*"
-- 
2.21.0
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org


Re: [PATCH v2] rabbitmq: add coreos queue

2019-09-20 Thread Kevin Fenzi
On 9/20/19 7:45 AM, Jonathan Lebon wrote:
> This is needed for CoreOS-specific messages. See
> https://pagure.io/fedora-infrastructure/issue/8227.
> 
> Reviewed-by: Aurelien Bompard 
> ---
>  roles/rabbitmq_cluster/tasks/apps.yml | 7 +--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/roles/rabbitmq_cluster/tasks/apps.yml 
> b/roles/rabbitmq_cluster/tasks/apps.yml
> index 1f2f5af55..ec743defc 100644
> --- a/roles/rabbitmq_cluster/tasks/apps.yml
> +++ b/roles/rabbitmq_cluster/tasks/apps.yml
> @@ -3,9 +3,12 @@
>  #
>  
>  
> -- name: CoreOS user
> +- name: CoreOS queue
>run_once: true
>include_role:
> -name: rabbit/user
> +name: rabbit/queue
>vars:
>  username: coreos{{ env_suffix }}
> +queue_name: coreos{{ env_suffix }}
> +routing_keys:
> +  - "org.fedoraproject.*.coreos.build.request.*"

Looks good to me. ;) Push away... let me know if I can run the playbook
for you after?

kevin





signature.asc
Description: OpenPGP digital signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org