debian-forge-composer/internal/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
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors worker: add new error type for RepoError 2022-06-01 11:36:52 +01:00
client.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
client_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
json.go worker/osbuild: handle manifest dynamic argument index 2022-06-10 14:48:18 +01:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
server_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00