s/environment/env in the bodhi-prod.cfg.j2 template
This commit is contained in:
parent
e73bce104f
commit
0cb68445f4
1 changed files with 9 additions and 9 deletions
|
@ -40,17 +40,17 @@ f21.pre_beta.critpath.min_karma = 1
|
|||
#newupdate_notice = 'Koji is currently down for a scheduled outage. Please see <a href="http://status.fedoraproject.org/">status.fedoraproject.org</a> for more information'
|
||||
|
||||
# Query the Fedora Package Database for the list of Critical Path Packages.
|
||||
{% if environment == "production" %}
|
||||
{% if env == "production" %}
|
||||
critpath.type = 'pkgdb'
|
||||
{% endif %}
|
||||
|
||||
{% if environment == "production" %}
|
||||
{% if env == "production" %}
|
||||
deployment_type = "prod"
|
||||
{% endif %}
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
deployment_type = "stg"
|
||||
{% endif %}
|
||||
{% if environment == "development" %}
|
||||
{% if env == "development" %}
|
||||
deployment_type = "dev"
|
||||
{% endif %}
|
||||
|
||||
|
@ -84,7 +84,7 @@ server.socket_queue_size = 30
|
|||
session_filter.on = False
|
||||
base_url_filter.on = True
|
||||
base_url_filter.use_x_forwarded_host = False
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
base_url_filter.base_url = 'https://admin.stg.fedoraproject.org'
|
||||
{% else %}
|
||||
base_url_filter.base_url = 'https://admin.fedoraproject.org'
|
||||
|
@ -115,7 +115,7 @@ fedora_announce_list = 'package-announce@lists.fedoraproject.org'
|
|||
fedora_test_announce_list = 'test@lists.fedoraproject.org'
|
||||
mashed_dir = '/mnt/koji/mash/updates'
|
||||
# TurboMail 3.0 settings
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
mail.on = False
|
||||
{% else %}
|
||||
mail.on = True
|
||||
|
@ -132,20 +132,20 @@ bz_cookie = '/var/tmp/bodhi-bz.cookie'
|
|||
bz_products = 'Fedora,Fedora EPEL,oVirt'
|
||||
|
||||
build_dir = '/mnt/koji/packages'
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
base_address = 'https://admin.stg.fedoraproject.org'
|
||||
{% else %}
|
||||
base_address = 'https://admin.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
||||
acl_system = 'pkgdb'
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
pkgdb_url = 'http://localhost/pkgdb'
|
||||
{% else %}
|
||||
pkgdb_url = 'https://admin.fedoraproject.org/pkgdb'
|
||||
{% endif %}
|
||||
|
||||
{% if environment == "staging" %}
|
||||
{% if env == "staging" %}
|
||||
buildsystem = 'dev'
|
||||
{% else %}
|
||||
buildsystem = 'koji'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue