Move the ELNBuildSync queue setup
Some checks failed
Linter / yamllint (pull_request) Failing after 25s
Linter / ansible-lint (pull_request) Failing after 1m4s

Now that ELNBuildSync is being deployed via Ansible, we should keep its
queue setup with the rest of the playbook.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
Stephen Gallagher 2026-05-27 20:54:36 -04:00
commit 1cc94caa72
Signed by untrusted user: sgallagh
GPG key ID: 45DB85A568286D11
2 changed files with 19 additions and 21 deletions

View file

@ -31,6 +31,25 @@
- /srv/private/ansible/vars.yml
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- name: Set up ELN RabbitMQ queue
run_once: true
include_role:
name: rabbit/queue
vars:
queue_username: distrobuildsync-eln
user_sent_topics: ^$
queue_name: distrobuildsync-eln
# TTL: 10 days (in miliseconds)
queue_message_ttl: 864000000
queue_routing_keys:
- "#.buildsys.repo.init"
- "#.buildsys.repo.done"
- "#.buildsys.tag"
- "#.buildsys.task.state.change"
- "org.fedoraproject.{{ env_short }}.elnbuildsync.#"
when: env != 'staging'
roles:
- role: openshift/project
project_app: elnbuildsync

View file

@ -140,27 +140,6 @@
# CENTOS STREAM robosignatory END
# ELN BEGIN
- name: Eln queue
run_once: true
include_role:
name: rabbit/queue
vars:
queue_username: distrobuildsync-eln
user_sent_topics: ^$
queue_name: distrobuildsync-eln
# TTL: 10 days (in miliseconds)
queue_message_ttl: 864000000
queue_routing_keys:
- "#.buildsys.repo.init"
- "#.buildsys.repo.done"
- "#.buildsys.tag"
- "#.buildsys.task.state.change"
when: env != 'staging'
# ELN END
# ELN-CentOS Stream Syncing BEGIN
- name: ELN-CS Sync queue