pipeline: pass meta data to stages & assemblers
Pass a new `meta` object to the stages and assemblers that for now only contains the `id` of the corresponding stage or assembler.
This commit is contained in:
parent
82f4d1cc96
commit
72e00f3f2b
1 changed files with 6 additions and 0 deletions
|
|
@ -84,6 +84,9 @@ class Stage:
|
|||
"tree": "/run/osbuild/tree",
|
||||
"sources": "/run/osbuild/sources",
|
||||
"options": self.options,
|
||||
"meta": {
|
||||
"id": self.id
|
||||
}
|
||||
}
|
||||
|
||||
ro_binds = [f"{sources_output}:/run/osbuild/sources"]
|
||||
|
|
@ -136,6 +139,9 @@ class Assembler:
|
|||
args = {
|
||||
"tree": "/run/osbuild/tree",
|
||||
"options": self.options,
|
||||
"meta": {
|
||||
"id": self.id
|
||||
}
|
||||
}
|
||||
|
||||
binds = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue