kiwi: Implant releasever into the kiwi description

Related: https://pagure.io/koji/issue/3194
This commit is contained in:
Tomas Kopecek 2022-01-05 15:09:48 +01:00
parent d737bb4597
commit e423263f51
3 changed files with 16 additions and 5 deletions

View file

@ -16,7 +16,7 @@ koji.tasks.LEGACY_SIGNATURES['createKiwiImage'] = [
@export
def kiwiBuild(target, arches, desc_url, desc_path, optional_arches=None, profile=None,
scratch=False, priority=None):
scratch=False, priority=None, repos=None):
context.session.assertPerm('image')
taskOpts = {
'channel': 'image',
@ -32,6 +32,7 @@ def kiwiBuild(target, arches, desc_url, desc_path, optional_arches=None, profile
'optional_arches': optional_arches,
'profile': profile,
'scratch': scratch,
'repos': repos or [],
}
return kojihub.make_task('kiwiBuild',
[target, arches, desc_url, desc_path, opts],