Try to clean up openqa/rabbit var usage a bit now it works
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
267a4510c0
commit
080701af48
3 changed files with 7 additions and 7 deletions
|
@ -27,8 +27,6 @@ openqa_secret: "{{ prod_openqa_apisecret }}"
|
|||
# fedora-messaging bits, so let's make our own
|
||||
openqa_env_suffix:
|
||||
openqa_env: production
|
||||
# we also need to override the rabbitmq server name...
|
||||
rabbitmq_server: "rabbitmq01{{ openqa_env_suffix }}.phx2.fedoraproject.org"
|
||||
|
||||
wikitcms_token: "{{ private }}/files/openidc/production/wikitcms.json"
|
||||
openqa_resultsdb_url: http://resultsdb01.qa.fedoraproject.org/resultsdb_api/api/v2.0/
|
||||
|
|
|
@ -43,8 +43,6 @@ openqa_secret: "{{ stg_openqa_apisecret }}"
|
|||
# fedora-messaging bits, so let's make our own
|
||||
openqa_env_suffix: .stg
|
||||
openqa_env: staging
|
||||
# we also need to override the rabbitmq server name...
|
||||
rabbitmq_server: "rabbitmq01{{ openqa_env_suffix }}.phx2.fedoraproject.org"
|
||||
|
||||
# for now, we have the 'extra' arches (ppc64 and aarch64) on stg
|
||||
openqa_extraarches: true
|
||||
|
|
|
@ -78,8 +78,8 @@
|
|||
vars:
|
||||
# yes, even the staging scheduler listens to production, it
|
||||
# has to or else it wouldn't schedule any jobs
|
||||
rabbitmq_server: "rabbitmq01.phx2.fedoraproject.org"
|
||||
env: "production"
|
||||
env_suffix: ""
|
||||
tags: ['rabbit']
|
||||
when: deployment_type == "stg"
|
||||
- role: rabbit/queue
|
||||
|
@ -88,8 +88,10 @@
|
|||
routing_keys:
|
||||
- "org.fedoraproject.{{ deployment_type }}.openqa.job.done"
|
||||
vars:
|
||||
rabbitmq_server: "rabbitmq01{{ openqa_env_suffix }}.phx2.fedoraproject.org"
|
||||
# for this role to work correctly we do need to look like a
|
||||
# staging server
|
||||
env: "{{ openqa_env }}"
|
||||
env_suffix: "{{ openqa_env_suffix }}"
|
||||
tags: ['rabbit']
|
||||
when: deployment_type == "stg"
|
||||
- role: rabbit/queue
|
||||
|
@ -98,8 +100,10 @@
|
|||
routing_keys:
|
||||
- "org.fedoraproject.{{ deployment_type }}.openqa.job.done"
|
||||
vars:
|
||||
rabbitmq_server: "rabbitmq01{{ openqa_env_suffix }}.phx2.fedoraproject.org"
|
||||
# for this role to work correctly we do need to look like a
|
||||
# staging server
|
||||
env: "{{ openqa_env }}"
|
||||
env_suffix: "{{ openqa_env_suffix }}"
|
||||
tags: ['rabbit']
|
||||
when: deployment_type == "stg"
|
||||
# nfs client setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue