debian-forge-composer/internal/worker
Lars Karlitski 59e73a686a worker: generalize job types in the server
The worker server was heavily tied to OSBuildJob(Result). Untie it so
that it can deal with different job types in the future.

This necessitates a change in the jobqueue: Dequeue() now returns the
job type, as well as job arguments as json.RawMessage. This is so that
the server can wait on multiple job types with different argument
types.

The weldr, composer, and koji APIs continue to use only "osbuild" jobs.
2020-11-09 14:17:19 +01:00
..
api worker: prefix all routes with /api/worker/v1 2020-09-24 21:08:56 +01:00
client.go worker: make worker.Client job-agnostic 2020-11-09 14:17:19 +01:00
json.go worker: use OSBuildJobResult consistently 2020-11-09 14:17:19 +01:00
server.go worker: generalize job types in the server 2020-11-09 14:17:19 +01:00
server_test.go worker: generalize job types in the server 2020-11-09 14:17:19 +01:00