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"],
|
"group": ["--allowerasing"],
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if env == "staging" %}
|
|
||||||
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
||||||
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
||||||
'requires': ['rpmautospec'],
|
'requires': ['rpmautospec'],
|
||||||
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
||||||
}
|
}
|
||||||
{% endif %}
|
|
||||||
|
|
|
@ -101,16 +101,6 @@
|
||||||
# rpmautospec plugin
|
# 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
|
- name: remove koji builder rpmautospec plugin
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
@ -118,7 +108,6 @@
|
||||||
- python3-rpmautospec
|
- python3-rpmautospec
|
||||||
- rpmautospec
|
- rpmautospec
|
||||||
state: absent
|
state: absent
|
||||||
when: env == 'staging'
|
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- koji_builder
|
- koji_builder
|
||||||
|
|
|
@ -28,10 +28,8 @@ config_opts["dnf5_avoid_opts"] = {
|
||||||
"group": ["--allowerasing"],
|
"group": ["--allowerasing"],
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if env == "staging" %}
|
|
||||||
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
config_opts['plugin_conf']['rpmautospec_enable'] = True
|
||||||
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
config_opts['plugin_conf']['rpmautospec_opts'] = {
|
||||||
'requires': ['rpmautospec'],
|
'requires': ['rpmautospec'],
|
||||||
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
|
||||||
}
|
}
|
||||||
{% endif %}
|
|
||||||
|
|
|
@ -112,10 +112,6 @@ keytab = /etc/kojid/kojid.keytab
|
||||||
{{ plugins.append("builder_containerbuild") }}
|
{{ plugins.append("builder_containerbuild") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if env != 'staging' %}
|
|
||||||
{{ plugins.append("rpmautospec_builder") }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{{ plugins.append("osbuild") }}
|
{{ plugins.append("osbuild") }}
|
||||||
|
|
||||||
{{ plugins.append("scmpolicy") }}
|
{{ plugins.append("scmpolicy") }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue