[image-build] Optionally do not break whole compose
The configuration can now specify image-build as a deliverable that can fail but not abort the whole compose. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
af11bebf1b
commit
5688f1cbae
4 changed files with 122 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ class ComposeTestCase(unittest.TestCase):
|
|||
self.assertFalse(compose.can_fail(None, 'x86_64', 'live'))
|
||||
self.assertTrue(compose.can_fail(None, 'i386', 'live'))
|
||||
|
||||
self.assertTrue(compose.can_fail(variant, '*', 'buildinstall'))
|
||||
self.assertFalse(compose.can_fail(variant, '*', 'live'))
|
||||
|
||||
@mock.patch('pungi.compose.ComposeInfo')
|
||||
def test_get_image_name(self, ci):
|
||||
conf = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue