mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
For now we're reverting the change, we seem to trigger some
sort of traceback from fedora-messaging which we'll need to look into.
This reverts commit 07baaf81b1.
39 lines
1.5 KiB
Python
39 lines
1.5 KiB
Python
HOST= '0.0.0.0'
|
|
PORT = 8080
|
|
DEBUG = False
|
|
POLICIES_DIR = '/etc/greenwave/'
|
|
|
|
{% if env == 'staging' %}
|
|
DIST_GIT_BASE_URL = 'https://src.stg.fedoraproject.org'
|
|
DIST_GIT_URL_TEMPLATE = '{DIST_GIT_BASE_URL}/{pkg_namespace}/{pkg_name}/raw/{rev}/f/gating.yaml'
|
|
KOJI_BASE_URL = 'https://koji.stg.fedoraproject.org/kojihub'
|
|
BODHI_URL = 'https://bodhi.stg.fedoraproject.org/'
|
|
|
|
SECRET_KEY = '{{stg_greenwave_secret_key}}'
|
|
WAIVERDB_API_URL = 'https://waiverdb-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
|
|
RESULTSDB_API_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/api/v2.0'
|
|
GREENWAVE_API_URL = 'https://greenwave.stg.fedoraproject.org/api/v1.0'
|
|
CORS_URL = '*'
|
|
MESSAGING = "fedora-messaging"
|
|
{% else %}
|
|
DIST_GIT_BASE_URL = 'https://src.fedoraproject.org'
|
|
DIST_GIT_URL_TEMPLATE = '{DIST_GIT_BASE_URL}/{pkg_namespace}/{pkg_name}/raw/{rev}/f/gating.yaml'
|
|
KOJI_BASE_URL = 'https://koji.fedoraproject.org/kojihub'
|
|
BODHI_URL = 'https://bodhi.fedoraproject.org/'
|
|
|
|
SECRET_KEY = '{{prod_greenwave_secret_key}}'
|
|
WAIVERDB_API_URL = 'https://waiverdb-web-waiverdb.app.os.fedoraproject.org/api/v1.0'
|
|
RESULTSDB_API_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0'
|
|
GREENWAVE_API_URL = 'https://greenwave.fedoraproject.org/api/v1.0'
|
|
CORS_URL = 'https://bodhi.fedoraproject.org'
|
|
{% endif %}
|
|
|
|
CACHE = {
|
|
'backend': 'dogpile.cache.memcached',
|
|
'expiration_time': 3600, # 3600 is 1 hour
|
|
'arguments': {
|
|
'url': 'greenwave-memcached:11211',
|
|
'distributed_lock': True
|
|
}
|
|
}
|