bodhi / koji sync listener: set BODHI_URL and import re
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
fa08cf1895
commit
f15fa40ccd
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@ from functools import partial
|
|||
|
||||
import requests
|
||||
import koji
|
||||
import re
|
||||
|
||||
from requests.adapters import HTTPAdapter
|
||||
from requests.packages.urllib3.util.retry import Retry
|
||||
|
@ -52,8 +53,10 @@ IPA_REALM = '{{ ipa_realm }}'
|
|||
ENV_SUFFIX = '{{ env_suffix }}'
|
||||
if STAGING:
|
||||
PAGURE_URL = 'https://src.stg.fedoraproject.org/'
|
||||
BODHI_URL = 'https://bodhi.stg.fedoraproject.org/'
|
||||
else:
|
||||
PAGURE_URL = 'https://src.fedoraproject.org/'
|
||||
BODHI_URL = 'https://bodhi.fedoraproject.org/'
|
||||
# In case the above variables end up being filled in by Ansible
|
||||
if not PAGURE_URL.endswith('/'):
|
||||
PAGURE_URL = PAGURE_URL + '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue