ODCS: Add support for scratch_modules to pungi.conf.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
parent
87779c2821
commit
e720bfc73c
1 changed files with 19 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue