mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-11-06 15:22:21 +08:00
Changed the filters so they execute when everything is build
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
This commit is contained in:
@@ -178,10 +178,11 @@ class MockModuleBuilder(GenericBuilder):
|
||||
if not rpm.endswith(".rpm"):
|
||||
continue
|
||||
|
||||
# If RPM is filtered-out, do not add it to artifacts list.
|
||||
nvr = kobo.rpmlib.parse_nvr(rpm)
|
||||
if nvr["name"] in m1_mmd.filter.rpms:
|
||||
continue
|
||||
if m1.last_batch_id() == m1.batch:
|
||||
# If RPM is filtered-out, do not add it to artifacts list.
|
||||
nvr = kobo.rpmlib.parse_nvr(rpm)
|
||||
if nvr["name"] in m1_mmd.filter.rpms:
|
||||
continue
|
||||
|
||||
pkglist_f.write(rpm + '\n')
|
||||
rpm = rpm[:-len(".rpm")]
|
||||
|
||||
Reference in New Issue
Block a user