Get non-rpm build to pungi's extra_files with inheritance
JIRA: COMPOSE-4214 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
4a78514162
commit
63ec1adc22
@ -270,7 +270,9 @@ class KojiScmWrapper(ScmBase):
|
||||
package,
|
||||
koji_tag,
|
||||
)
|
||||
builds = self.proxy.listTagged(koji_tag, package=package, latest=True)
|
||||
builds = self.proxy.listTagged(
|
||||
koji_tag, package=package, inherit=True, latest=True
|
||||
)
|
||||
if len(builds) != 1:
|
||||
raise RuntimeError("No package %s in tag %s", package, koji_tag)
|
||||
self._download_build(builds[0], file_pattern, target_dir)
|
||||
|
@ -536,7 +536,7 @@ class KojiSCMTestCase(SCMBaseTest):
|
||||
[
|
||||
mock.call("koji"),
|
||||
mock.call().koji_proxy.listTagged(
|
||||
"images", package="my-build", latest=True
|
||||
"images", package="my-build", inherit=True, latest=True
|
||||
),
|
||||
mock.call().koji_proxy.listArchives(123),
|
||||
mock.call().koji_module.pathinfo.typedir({"build_id": 123}, "image"),
|
||||
|
Loading…
Reference in New Issue
Block a user