Correct Bodhi's wiki URLs for staging.

To do this, I added an env_prefix variable - sometimes you need to
be able to say "stg." instead of ".stg" (env_suffix), and this is
an example.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2019-05-17 15:40:26 +00:00
parent 11f2f80f96
commit eb3be51b78
3 changed files with 4 additions and 2 deletions

View file

@ -217,6 +217,7 @@ nrpe_check_postfix_queue_crit: 5
# env is staging or production, we default it to production here.
env: production
env_prefix:
env_suffix:
env_short: prod

View file

@ -1,6 +1,7 @@
---
freezes: false
env: staging
env_prefix: stg.
env_suffix: .stg
env_short: stg
host_group: staging

View file

@ -103,8 +103,8 @@ datagrepper_url = https://apps{{env_suffix}}.fedoraproject.org/datagrepper
query_wiki_test_cases = True
# wiki_url = https://fedoraproject.org/w/api.php
# test_case_base_url = https://fedoraproject.org/wiki/
wiki_url = https://{{env_suffix}}fedoraproject.org/w/api.php
test_case_base_url = https://{{env_suffix}}fedoraproject.org/wiki/
wiki_url = https://{{env_prefix}}fedoraproject.org/w/api.php
test_case_base_url = https://{{env_prefix}}fedoraproject.org/wiki/
# URL of the resultsdb for integrating checks and stuff
# resultsdb_api_url = https://taskotron.fedoraproject.org/resultsdb_api/