openqa/dispatcher: correct config for resultsdb reports
This is a bit sloppy and infra-specific ATM, but does the job. I have a PR in for openqa_fedora_tools which changes the report behaviour a bit, once that lands I'll clean this up somewhat using variables.
This commit is contained in:
parent
077697ac19
commit
8f32e86245
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
[report]
|
||||
openqa_url: {{ external_hostname|default(ansible_nodename) }}
|
||||
openqa_url: https://{{ external_hostname|default(ansible_nodename) }}
|
||||
{% if wikitcms_user is defined and wikitcms_password is defined %}
|
||||
submit_wiki: true
|
||||
submit_resultsdb: true
|
||||
|
@ -7,3 +7,8 @@ submit_resultsdb: true
|
|||
submit_wiki: false
|
||||
submit_resultsdb: false
|
||||
{% endif %}
|
||||
{% if deployment_type is defined and deployment_type == 'prod' %}
|
||||
resultsdb_url: http://resultsdb01.qa.fedoraproject.org/resultsdb_api/api/v2.0/
|
||||
{% elif deployment_type is defined and deployment_type == 'stg' %}
|
||||
resultsdb_url: http://resultsdb-stg01.qa.fedoraproject.org/resultsdb_api/api/v2.0/
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue