mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
Blockerbugs: Update variables to have different stg/prod keys
This commit is contained in:
@@ -41,11 +41,13 @@ FEDMENU_DATA_URL = 'https://apps.fedoraproject.org/js/data.js'
|
||||
{% if env == "staging" %}
|
||||
PAGURE_URL = "https://stg.pagure.io/"
|
||||
PAGURE_API = "https://stg.pagure.io/api/0/"
|
||||
PAGURE_REPO_TOKEN = "{{ blockerbugs_stg_pagure_repo_token }}"
|
||||
PAGURE_REPO_WEBHOOK_KEY = "{{ blockerbugs_stg_pagure_repo_webhook_key }}"
|
||||
{% else %}
|
||||
PAGURE_URL = "https://pagure.io/"
|
||||
PAGURE_API = "https://pagure.io/api/0/"
|
||||
{% endif %}
|
||||
PAGURE_REPO = "fedora-qa/blocker-review"
|
||||
PAGURE_REPO_TOKEN = "{{ blockerbugs_pagure_repo_token }}"
|
||||
PAGURE_REPO_WEBHOOK_KEY = "{{ blockerbugs_pagure_repo_webhook_key }}"
|
||||
{% endif %}
|
||||
PAGURE_REPO = "fedora-qa/blocker-review"
|
||||
PAGURE_BOT_USERNAME = 'blockerbot'
|
||||
|
||||
Reference in New Issue
Block a user