jobsite/builder: enable --json

Use `--json`; this causes `osbuild` to buffer all output and then print
a huge blob of JSON at the end of the command.
This commit is contained in:
Simon de Vlieger 2024-02-12 09:55:11 +01:00 committed by Sanne Raymaekers
parent 748db5410e
commit 7b7de50e23

View file

@ -242,6 +242,7 @@ func (builder *Builder) HandleBuild(w http.ResponseWriter, r *http.Request) erro
"--store", path.Join(argBuildPath, "store"),
"--cache-max-size", "0",
"--output-directory", path.Join(argBuildPath, "export"),
"--json",
}
for _, pipeline := range buildRequest.Pipelines {