From 7b7de50e23a14dfe4b88e564f3469341e4ef9e86 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Mon, 12 Feb 2024 09:55:11 +0100 Subject: [PATCH] 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. --- cmd/osbuild-jobsite-builder/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/osbuild-jobsite-builder/main.go b/cmd/osbuild-jobsite-builder/main.go index 7447e2874..f081f30aa 100644 --- a/cmd/osbuild-jobsite-builder/main.go +++ b/cmd/osbuild-jobsite-builder/main.go @@ -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 {