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:
Randy Barlow 2018-04-23 16:26:27 +00:00
parent 6fe8c48df6
commit c99ece376c
3 changed files with 14 additions and 1 deletions

View file

@ -51,7 +51,7 @@
app: bodhi
template: buildconfig.yml
objectname: buildconfig.yml
bodhi_version: 3.6.0
bodhi_version: 3.6.1-0.0.beta
- role: openshift/start-build
app: bodhi
buildname: bodhi-web

View file

@ -48,6 +48,13 @@
- packages
- 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
package: name=ostree state=present
when: inventory_hostname.startswith('bodhi-backend01')

View file

@ -341,7 +341,13 @@ top_testers_timeframe = 900
# dogpile.cache.backend = dogpile.cache.dbm
# dogpile.cache.expiration_time = 100
# 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
{% endif %}
# Exclude sending emails to these users
# exclude_mail = autoqa taskotron