openqa: install the 'update restarter' plugin, enable on stg

For now, just enable this on staging to check it works okay.
This commit is contained in:
Adam Williamson 2017-03-01 13:35:43 -08:00
parent 2ac6027221
commit a412d4f47c
2 changed files with 7 additions and 2 deletions

View file

@ -63,12 +63,13 @@
# this is separate from the step below so we can easily flip it between # this is separate from the step below so we can easily flip it between
# stable and testing # stable and testing
- name: Install openQA packages - name: Install openQA packages
# dnf: name={{ item }} state=present enablerepo="updates-testing" dnf: name={{ item }} state=present enablerepo="updates-testing"
dnf: name={{ item }} state=present # dnf: name={{ item }} state=present
with_items: with_items:
- openqa - openqa
- openqa-httpd - openqa-httpd
- openqa-plugin-fedmsg - openqa-plugin-fedmsg
- openqa-plugin-fedoraupdaterestart
tags: tags:
- packages - packages

View file

@ -2,7 +2,11 @@
branding = plain branding = plain
base_url = https://{{ external_hostname }} base_url = https://{{ external_hostname }}
download_domains = fedoraproject.org download_domains = fedoraproject.org
{% if deployment_type is defined and deployment_type == 'prod' %}
plugins = Fedmsg plugins = Fedmsg
{% elif deployment_type is defined and deployment_type == 'stg' %}
plugins = Fedmsg FedoraUpdateRestart
{% endif %}
hide_asset_types = repo iso hdd hide_asset_types = repo iso hdd
[auth] [auth]