debian-forge-composer/cmd/osbuild-worker
Tomas Hozza 97da1e7ad6 worker/osbuild: handle manifest dynamic argument index
Previously, the `OSBuild` job assumed that it can have only a single
job dependency, which could be only the `ManifestJobByID`. This won't
work well for the Koji use case, because the Koji OSBuild job has also
dependency on the Koji-init job.

Extend the `worker.OSBuildJob` structure with a new field, which holds
the `ManifestJobByIDResult` index in the job's dynamic arguments slice.
This value is considered in case when there is more than one dependency
of the `OSBuild` job.
2022-06-10 14:48:18 +01:00
..
jobimpl-depsolve.go osbuild-worker: Correct cast of dnfjson error in depsolve job 2022-06-08 23:07:37 +02:00
jobimpl-koji-finalize.go Move OSBuildMetadataToRPMs and PackageMetadataToSignature to osbuild2 2022-02-18 09:26:35 +01:00
jobimpl-koji-init.go Relax TCP timeouts for koji connections 2022-02-10 14:58:10 +01:00
jobimpl-osbuild-koji.go Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
jobimpl-osbuild.go worker/osbuild: handle manifest dynamic argument index 2022-06-10 14:48:18 +01:00
main.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
osbuild.go worker: don't marshal manifest in byte[] from 2022-02-01 20:28:40 +00:00