debian-forge/osbuild/__init__.py
Lars Karlitski 82a2be53d4 pipeline: return logs in --json mode
A pipeline run only returned logs in the `StageFailed` and
`AssemblerFailed` exceptions. Remove those and always return structured
data instead.

It only returns data for stages that actually ran (i.e., didn't come
from the cache). This is similar to the output in interactive mode.

Also change osbuildtest to be able to deal with output that is larger
than the pipe buffer by using subprocess.communicate().
2019-12-14 13:49:24 +01:00

11 lines
160 B
Python

from .pipeline import Assembler, load, load_build, Pipeline, Stage
__all__ = [
"Assembler",
"load",
"load_build",
"Pipeline",
"Stage",
]