osbuild: on-demand building of pipelines
Use the new Manifest.depsolve function to only build the pipelines that were explicitly requested and their dependencies, taking into account what is already present in the store. Since now not all pipeline will be built, there wont be a result entry for all the pipelines, thus the format version 2 result formatting was changed to not require the pipeline to be present in result set.
This commit is contained in:
parent
749912c75a
commit
29f2a68eeb
4 changed files with 13 additions and 9 deletions
|
|
@ -82,7 +82,7 @@ class TestFormatV1(unittest.TestCase):
|
|||
libdir = os.path.abspath(os.curdir)
|
||||
store = ObjectStore(storedir)
|
||||
|
||||
res = manifest.build(store, monitor, libdir)
|
||||
res = manifest.build(store, manifest.pipelines, monitor, libdir)
|
||||
return res
|
||||
|
||||
def test_canonical(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue