Blockerbugs: Update variables to have different stg/prod keys
This commit is contained in:
parent
1868c951a7
commit
f0a83d86ef
1 changed files with 4 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue