osbuild-composer icon indicating copy to clipboard operation
osbuild-composer copied to clipboard

CI: upload build logs as artifacts for failed RPM builds

Open thozza opened this issue 2 years ago • 0 comments

It seems that when we build RPMs in CI, we are instructing mock not keep any logs from the build. As a result, there is literally no information to help debugging a build failure.

We should be probably setting cleanup_on_failure to False when running mock and upload all build logs as artifacts.

Example of a build failure: https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/3223520188

CC @jrusz

thozza avatar Oct 25 '22 14:10 thozza