mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
ODCS: Add support for scratch_modules to pungi.conf.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
@@ -72,6 +72,25 @@ pkgset_koji_builds = [
|
||||
]
|
||||
{%- endif %}
|
||||
|
||||
{%- if config.scratch_modules %}
|
||||
mbs_api_url = "{{ config.mbs_api_url }}"
|
||||
pkgset_scratch_modules = {
|
||||
'^Temporary$': [
|
||||
{%- for nsvc in config.scratch_modules %}
|
||||
'{{ nsvc }}',
|
||||
{%- endfor %}
|
||||
]
|
||||
}
|
||||
{%- endif %}
|
||||
|
||||
{%- if config.scratch_build_tasks %}
|
||||
pkgset_koji_scratch_tasks = [
|
||||
{%- for task_id in config.scratch_build_tasks %}
|
||||
'{{ task_id }}',
|
||||
{%- endfor %}
|
||||
]
|
||||
{%- endif %}
|
||||
|
||||
{%- if config.source_type_str in ["tag", "build"] and not config.packages %}
|
||||
# In case no package is requested, include all of them.
|
||||
additional_packages = [
|
||||
|
||||
Reference in New Issue
Block a user