debian-forge-composer/cmd/osbuild-worker
Achilleas Koutsou 9aef7bfc47 osbuild-worker: attach pipeline names to jobs
Pipeline names are added to each job before adding to the queue. When a
job is finished, the names are copied to the Result object as well. This
is done for both OSBuild and Koji jobs.

The pipeline names in the result are primarily used to separate package
lists into build and payload/image packages in two cases:
1. Koji builds: for reporting the build root and image package lists to
   Koji (in Koji finalize).
2. Cloud API (v1 and v2): for reporting the payload packages in the
   metadata request.

The pipeline names are also used to print the system log output in the
order in which pipelines are executed. This still isn't used when
printing the OSBuild Result (osbuild2.Result.Write()) and we still rely
on sorting by pipeline name
(see https://github.com/osbuild/osbuild-composer/pull/1330).
2021-11-16 09:49:37 +01:00
..
jobimpl-depsolve.go cloudapi/v2: Use worker to depsolve 2021-10-11 13:16:51 +02:00
jobimpl-koji-finalize.go osbuild-worker: attach pipeline names to jobs 2021-11-16 09:49:37 +01:00
jobimpl-koji-init.go workerapi: serialize koji errors as strings 2020-11-13 09:39:55 +01:00
jobimpl-osbuild-koji.go osbuild-worker: attach pipeline names to jobs 2021-11-16 09:49:37 +01:00
jobimpl-osbuild.go osbuild-worker: attach pipeline names to jobs 2021-11-16 09:49:37 +01:00
main.go worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00
osbuild.go osbuild-worker: use v2 Result struct 2021-11-16 09:49:37 +01:00