From ea26e54ca02eb8b369c3f726f8b17db3c3063489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 4 Jul 2025 18:39:21 +0200 Subject: [PATCH] Drop the mirror_pagure_ansible_13 rabbitmq queue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- playbooks/groups/batcave.yml | 10 ---------- .../templates/mirror_pagure_ansible.cfg | 4 ---- 2 files changed, 14 deletions(-) diff --git a/playbooks/groups/batcave.yml b/playbooks/groups/batcave.yml index 9f7bc8bc45..c58b6208ad 100644 --- a/playbooks/groups/batcave.yml +++ b/playbooks/groups/batcave.yml @@ -42,16 +42,6 @@ warning: 10 critical: 100 user_sent_topics: ^$ - - role: rabbit/queue - queue_username: "mirror_pagure_ansible{{ env_suffix }}" - queue_name: "mirror_pagure_ansible{{ env_suffix }}_13" - queue_routing_keys: - - "io.pagure.*.pagure.git.receive" - queue_thresholds: - warning: 10 - critical: 100 - user_sent_topics: ^$ - when: datacenter != 'rdu3' - batcave - role: grobisplitter when: datacenter == 'rdu3' diff --git a/roles/mirror_pagure_ansible/templates/mirror_pagure_ansible.cfg b/roles/mirror_pagure_ansible/templates/mirror_pagure_ansible.cfg index 2869e0cdab..ada5bfdb01 100644 --- a/roles/mirror_pagure_ansible/templates/mirror_pagure_ansible.cfg +++ b/roles/mirror_pagure_ansible/templates/mirror_pagure_ansible.cfg @@ -11,8 +11,6 @@ callback = "mirror_from_pagure_bus:MirrorFromPagure" [[bindings]] {% if inventory_hostname.startswith('batcave01') %} queue = "mirror_pagure_ansible{{ env_suffix }}" -{% elif inventory_hostname.startswith('batcave13.') %} -queue = "mirror_pagure_ansible{{ env_suffix }}_13" {% endif %} exchange = "amq.topic" routing_keys = [ @@ -31,8 +29,6 @@ app_contacts_email = ["pingou@fedoraproject.org"] {% if inventory_hostname.startswith('batcave01') %} [queues."mirror_pagure_ansible{{ env_suffix }}"] -{% elif inventory_hostname.startswith('batcave13.') %} -[queues."mirror_pagure_ansible{{ env_suffix }}_13"] {% endif %} durable = true auto_delete = false