pipeline: introduce output id
Introduce and output id, which is the checksum over a full pipeline, including all stages and the assembler. The id of a pipeline did not include assemblers before. To be less confusing, rename the existing id to "tree id".
This commit is contained in:
parent
f1151a1719
commit
fd37a5d646
2 changed files with 42 additions and 19 deletions
|
|
@ -35,9 +35,9 @@ class TestDescriptions(unittest.TestCase):
|
|||
name = "org.osbuild.test"
|
||||
options = { "one": 1 }
|
||||
cases = [
|
||||
(osbuild.Assembler(name, {}), {"name": name}),
|
||||
(osbuild.Assembler(name, None), {"name": name}),
|
||||
(osbuild.Assembler(name, options), {"name": name, "options": options}),
|
||||
(osbuild.Assembler(name, None, None, {}), {"name": name}),
|
||||
(osbuild.Assembler(name, None, None, None), {"name": name}),
|
||||
(osbuild.Assembler(name, None, None, options), {"name": name, "options": options}),
|
||||
]
|
||||
for assembler, description in cases:
|
||||
with self.subTest(description):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue