Switch to rpmautospec mock plugin in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
9822f15720
commit
e46308a1a2
4 changed files with 0 additions and 19 deletions
|
@ -16,10 +16,8 @@ config_opts["dnf5_avoid_opts"] = {
|
|||
"group": ["--allowerasing"],
|
||||
}
|
||||
|
||||
{% if env == "staging" %}
|
||||
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
||||
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
||||
'requires': ['rpmautospec'],
|
||||
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
||||
}
|
||||
{% endif %}
|
||||
|
|
|
@ -101,16 +101,6 @@
|
|||
# rpmautospec plugin
|
||||
#
|
||||
|
||||
- name: install koji builder rpmautospec plugin
|
||||
package:
|
||||
name: koji-builder-plugin-rpmautospec
|
||||
state: present
|
||||
when: env != 'staging'
|
||||
tags:
|
||||
- packages
|
||||
- koji_builder
|
||||
- rpmautospec
|
||||
|
||||
- name: remove koji builder rpmautospec plugin
|
||||
package:
|
||||
name:
|
||||
|
@ -118,7 +108,6 @@
|
|||
- python3-rpmautospec
|
||||
- rpmautospec
|
||||
state: absent
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
- packages
|
||||
- koji_builder
|
||||
|
|
|
@ -28,10 +28,8 @@ config_opts["dnf5_avoid_opts"] = {
|
|||
"group": ["--allowerasing"],
|
||||
}
|
||||
|
||||
{% if env == "staging" %}
|
||||
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
||||
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
||||
'requires': ['rpmautospec'],
|
||||
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
||||
}
|
||||
{% endif %}
|
||||
|
|
|
@ -112,10 +112,6 @@ keytab = /etc/kojid/kojid.keytab
|
|||
{{ plugins.append("builder_containerbuild") }}
|
||||
{% endif %}
|
||||
|
||||
{% if env != 'staging' %}
|
||||
{{ plugins.append("rpmautospec_builder") }}
|
||||
{% endif %}
|
||||
|
||||
{{ plugins.append("osbuild") }}
|
||||
|
||||
{{ plugins.append("scmpolicy") }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue