formats: move pipeline description here
The description of a pipeline is format dependent and thus needs to be located at the specific format module. Temporarily remove two tests; they should be added back to a format specific test suit.
This commit is contained in:
parent
a13783f67b
commit
4ab52c3764
4 changed files with 33 additions and 59 deletions
|
|
@ -127,7 +127,7 @@ def osbuild_cli():
|
|||
return 1
|
||||
|
||||
if args.inspect:
|
||||
result = {"pipeline": pipeline.description(with_id=True)}
|
||||
result = {"pipeline": fmt.describe(pipeline, with_id=True)}
|
||||
if manifest.get("sources_options"):
|
||||
result["sources"] = manifest["sources_options"]
|
||||
json.dump(result, sys.stdout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue