mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
freezes: false
|
||||
env: staging
|
||||
env_prefix: stg.
|
||||
env_suffix: .stg
|
||||
env_short: stg
|
||||
host_group: staging
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user