debian-forge-composer/internal/worker
Lars Karlitski d3c99b8e93 worker: allow passing different jobs to workers
Until now, all jobs were put as "osbuild" jobs into the job queue and
the worker API hard-coded sending an osbuild manifest and upload
targets.

Change the API to take a "type" and "args" keys, which are equivalent to
the job-queue's type and args. Workers continue to support only osbuild
jobs, but this makes other jobs possible in the future.
2020-09-23 14:28:52 +01:00
..
api worker: allow passing different jobs to workers 2020-09-23 14:28:52 +01:00
client.go worker: allow passing different jobs to workers 2020-09-23 14:28:52 +01:00
json.go worker: allow passing different jobs to workers 2020-09-23 14:28:52 +01:00
server.go worker: allow passing different jobs to workers 2020-09-23 14:28:52 +01:00
server_test.go worker: allow passing different jobs to workers 2020-09-23 14:28:52 +01:00