koji-builders: install and configure the rpmautospec plugin
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
850d3dc4b6
commit
80cba71063
2 changed files with 25 additions and 6 deletions
|
@ -96,6 +96,20 @@
|
|||
tags:
|
||||
- koji_builder
|
||||
|
||||
#
|
||||
# rpmautospec plugin
|
||||
#
|
||||
|
||||
- name: install koji builder rpmautospec plugin
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
- koji-builder-plugin-rpmautospec
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
- packages
|
||||
- koji_builder
|
||||
- rpmautospec
|
||||
|
||||
- name: Install arm UEFI firmware package (aarch64 only)
|
||||
package: name=edk2-arm state=present
|
||||
tags:
|
||||
|
|
|
@ -143,16 +143,21 @@ keytab = /etc/kojid/kojid.keytab
|
|||
krbservice = host
|
||||
krb_rdns = false
|
||||
|
||||
{% if 'runroot' in group_names %}
|
||||
; Config for it lives in /etc/kojid/runroot.conf
|
||||
plugins = runroot
|
||||
{% set plugins = [] %}
|
||||
|
||||
{% if 'runroot' in group_names %}
|
||||
{% set plugins = ['runroot'] %}
|
||||
{% else %}
|
||||
|
||||
{% if ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel') %}
|
||||
plugins = builder_containerbuild
|
||||
{% else %}
|
||||
plugins =
|
||||
{% set plugins = ['builder_containerbuild'] %}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if env == 'staging' %}
|
||||
{% set plugins.append("rpmautospec_builder") %}
|
||||
{% endif %}
|
||||
|
||||
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
|
||||
plugins = {{ plugins | join(" ") }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue