loopabull: Adjust the routing keys for prod vs stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
efc86af0db
commit
f958662bc9
1 changed files with 17 additions and 3 deletions
|
@ -66,7 +66,6 @@
|
||||||
loglevel: info,
|
loglevel: info,
|
||||||
plugin: fedmsgrabbitmq,
|
plugin: fedmsgrabbitmq,
|
||||||
routing_keys: [
|
routing_keys: [
|
||||||
"org.fedoraproject.stg.buildsys.build.state.change",
|
|
||||||
"org.fedoraproject.prod.buildsys.build.state.change",
|
"org.fedoraproject.prod.buildsys.build.state.change",
|
||||||
"org.centos.prod.ci.dist-git-pr.test.complete",
|
"org.centos.prod.ci.dist-git-pr.test.complete",
|
||||||
"org.centos.prod.ci.dist-git-pr.test.error",
|
"org.centos.prod.ci.dist-git-pr.test.error",
|
||||||
|
@ -74,9 +73,24 @@
|
||||||
],
|
],
|
||||||
playbooks_dir: /srv/loopabull-tasks/playbooks,
|
playbooks_dir: /srv/loopabull-tasks/playbooks,
|
||||||
ansible_cfg_path: /etc/ansible/ansible.cfg,
|
ansible_cfg_path: /etc/ansible/ansible.cfg,
|
||||||
playbook_cmd: /usr/bin/ansible-playbook
|
playbook_cmd: /usr/bin/ansible-playbook,
|
||||||
|
when: env != 'staging',
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
role: loopabull,
|
||||||
|
loglevel: info,
|
||||||
|
plugin: fedmsgrabbitmq,
|
||||||
|
routing_keys: [
|
||||||
|
"org.fedoraproject.stg.buildsys.build.state.change",
|
||||||
|
"org.centos.stage.ci.dist-git-pr.test.complete",
|
||||||
|
"org.centos.stage.ci.dist-git-pr.test.error",
|
||||||
|
"org.centos.stage.ci.dist-git-pr.test.running"
|
||||||
|
],
|
||||||
|
playbooks_dir: /srv/loopabull-tasks/playbooks,
|
||||||
|
ansible_cfg_path: /etc/ansible/ansible.cfg,
|
||||||
|
playbook_cmd: /usr/bin/ansible-playbook,
|
||||||
|
when: env == 'staging',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
- name: Post Loopabull install configuration
|
- name: Post Loopabull install configuration
|
||||||
hosts: loopabull:loopabull_stg
|
hosts: loopabull:loopabull_stg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue