osbuild reports failing builds in two ways: it sets the "success" field in its output to `false` and it returns with a non-zero exit status. The worker used both, returning an `OSBuildError` when osbuild return non-zero, but also forwarding the resulting object with the "success" field. Change this to only use the "success" field and ignore the return value. The latter is useful for people running osbuild in a terminal or script, but is redundant for this use-case. This makes error reporting more consistent: `RunOSBuild` only returns an error when *running* osbuild failed, not when the build fails. |
||
|---|---|---|
| .. | ||
| cloud-cleaner | ||
| osbuild-auth-tests | ||
| osbuild-composer | ||
| osbuild-composer-cli-tests | ||
| osbuild-dnf-json-tests | ||
| osbuild-image-tests | ||
| osbuild-koji | ||
| osbuild-koji-tests | ||
| osbuild-pipeline | ||
| osbuild-store-dump | ||
| osbuild-upload-aws | ||
| osbuild-upload-azure | ||
| osbuild-worker | ||