debian-forge-composer/cmd/osbuild-worker
Thomas Lavocat 5e127de303 Worker: report stages status after RunOSBuild
To help along with debugging, this commit makes the worker able to print
the status of the different stages with a oneliner for each successfull
stages and a detailed message for failed ones.

Sample output:
Jul 23[..]: Build stages results:
Jul 23[..]: org.osbuild.rpm  success
Jul 23[..]: org.osbuild.selinux  success
Jul 23[..]: Stages results:
Jul 23[..]: org.osbuild.rpm  success
Jul 23[..]: org.osbuild.fix-bls  success
Jul 23[..]: org.osbuild.fstab  success
Jul 23[..]: org.osbuild.grub2  success
Jul 23[..]: org.osbuild.locale  success
Jul 23[..]: org.osbuild.timezone  success
Jul 23[..]: org.osbuild.users failure:
Jul 23[..]:  [/usr/lib/tmpfiles.d/journal-nocow.conf:26] Failed to resolve specifier: uninitialized /etc detected, skipping
Jul 23[..]: All rules containing unresolvable specifiers will be skipped.
Jul 23[..]: Failed to create file /sys/fs/selinux/checkreqprot: Read-only file system
Jul 23[..]: useradd: group 'toto' does not exist

Fixes #1584
2021-07-27 18:13:10 +02:00
..
jobimpl-koji-finalize.go rpmmd: move RPM metadata tooling to internal pkg 2021-06-29 09:33:05 +01:00
jobimpl-koji-init.go workerapi: serialize koji errors as strings 2020-11-13 09:39:55 +01:00
jobimpl-osbuild-koji.go kojiapi: include image type exports in Koji job args 2021-06-18 14:02:09 +01:00
jobimpl-osbuild.go Worker: report stages status after RunOSBuild 2021-07-27 18:13:10 +02:00
main.go worker: Trim offline token 2021-06-23 10:33:22 +02:00
osbuild.go osbuld-worker: call osbuild with --export flag 2021-03-17 18:12:17 +00:00