Use Bodhi 3.6.1 on staging (and openshift, which isn't prod atm).
This commit also adjusts Bodhi to use dogpile cache's in-memory backend, and adjusts the backend01 to install bodhi-composer. Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
6fe8c48df6
commit
c99ece376c
3 changed files with 14 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
||||||
app: bodhi
|
app: bodhi
|
||||||
template: buildconfig.yml
|
template: buildconfig.yml
|
||||||
objectname: buildconfig.yml
|
objectname: buildconfig.yml
|
||||||
bodhi_version: 3.6.0
|
bodhi_version: 3.6.1-0.0.beta
|
||||||
- role: openshift/start-build
|
- role: openshift/start-build
|
||||||
app: bodhi
|
app: bodhi
|
||||||
buildname: bodhi-web
|
buildname: bodhi-web
|
||||||
|
|
|
@ -48,6 +48,13 @@
|
||||||
- packages
|
- packages
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
|
- name: install bodhi-composer
|
||||||
|
package: name=bodhi-composer state=present
|
||||||
|
when: inventory_hostname.startswith('bodhi-backend01') and env == "staging"
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- bodhi
|
||||||
|
|
||||||
- name: install ostree
|
- name: install ostree
|
||||||
package: name=ostree state=present
|
package: name=ostree state=present
|
||||||
when: inventory_hostname.startswith('bodhi-backend01')
|
when: inventory_hostname.startswith('bodhi-backend01')
|
||||||
|
|
|
@ -341,7 +341,13 @@ top_testers_timeframe = 900
|
||||||
# dogpile.cache.backend = dogpile.cache.dbm
|
# dogpile.cache.backend = dogpile.cache.dbm
|
||||||
# dogpile.cache.expiration_time = 100
|
# dogpile.cache.expiration_time = 100
|
||||||
# dogpile.cache.arguments.filename = /var/cache/bodhi-dogpile-cache.dbm
|
# dogpile.cache.arguments.filename = /var/cache/bodhi-dogpile-cache.dbm
|
||||||
|
{% if env == "staging" %}
|
||||||
|
dogpile.cache.backend = dogpile.cache.memory_pickle
|
||||||
|
# Cache expires every 6 hours.
|
||||||
|
dogpile.cache.expiration_time = 21600
|
||||||
|
{% else %}
|
||||||
dogpile.cache.arguments.filename = /var/cache/bodhi/dogpile-cache.dbm
|
dogpile.cache.arguments.filename = /var/cache/bodhi/dogpile-cache.dbm
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Exclude sending emails to these users
|
# Exclude sending emails to these users
|
||||||
# exclude_mail = autoqa taskotron
|
# exclude_mail = autoqa taskotron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue