[atomic] Add atomic_installer phase
This phase runs lorax with extra templates in Koji runroot task, links the boot.iso to proper location in compose directory and adds the installer iso to image manifest. This phase runs concurrently with live media etc. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
536c6c85b7
commit
8d224b206b
10 changed files with 527 additions and 5 deletions
|
|
@ -193,5 +193,14 @@ class TestFindOldCompose(unittest.TestCase):
|
|||
self.assertEqual(old, self.tmp_dir + '/Fedora-Rawhide-Base-1-20160229.0')
|
||||
|
||||
|
||||
class TestHelpers(unittest.TestCase):
|
||||
def test_process_args(self):
|
||||
self.assertEqual(util.process_args('--opt={}', None), [])
|
||||
self.assertEqual(util.process_args('--opt={}', []), [])
|
||||
self.assertEqual(util.process_args('--opt={}', ['foo', 'bar']),
|
||||
['--opt=foo', '--opt=bar'])
|
||||
self.assertEqual(util.process_args('--opt={}', 'foo'), ['--opt=foo'])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue