isos: Check maximum expected size
This patch allows the configuration to express maximum expected size for ISOs created in createiso and extra_isos phases. If the image is larger than this limit, a warning is emitted in test phase. The compose itself is not affected in any way. JIRA: COMPOSE-2824 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7693e562b1
commit
6c6d4759f5
8 changed files with 150 additions and 4 deletions
|
|
@ -263,6 +263,7 @@ def add_iso_to_metadata(
|
|||
compose.im.add(variant.uid, variant_arch, img)
|
||||
else:
|
||||
compose.im.add(variant.uid, arch, img)
|
||||
return img
|
||||
|
||||
|
||||
def run_createiso_command(runroot, num, compose, bootable, arch, cmd, mounts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue