Conditionalize the containerbuild stuff
This commit is contained in:
parent
3382864cee
commit
a385778b23
1 changed files with 8 additions and 0 deletions
|
@ -72,7 +72,11 @@ serverca = /etc/kojid/cacert.pem
|
|||
|
||||
{% if 'runroot' in group_names %}
|
||||
; Config for it lives in /etc/kojid/runroot.conf
|
||||
{% if env == 'staging' %}
|
||||
plugins = runroot builder_container
|
||||
{% else %}
|
||||
plugins = runroot
|
||||
{% endif %}
|
||||
|
||||
; We use the hub's plugin path since that's where
|
||||
; the package installs the builder plugin.
|
||||
|
@ -80,6 +84,10 @@ pluginpath = /usr/lib/koji-hub-plugins
|
|||
|
||||
{% else %}
|
||||
|
||||
{% if env == 'staging' %}
|
||||
plugins = builder_container
|
||||
{% else %}
|
||||
plugins =
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue