debian-forge-composer/internal/worker/api
Tom Gundersen a2895376ae worker: introduce dynamicArgs
In addition to the arguments passed when scheduling a job, a job now
also takes the results of its dependencies as additional arguments. We
call these dynamic arguments for the lack of a better term.

The immediate use-case for this is to allow koji jobs to be split up
as follows:
 - koji-init: Creates a koji build, and returns us a token.
 - osbuild-koji: one job per architecture, depending on koji-init
   having succeeded. Builds the image, and uploads it to koji,
   returning metadata about the image produced.
 - koji-finalize: uses the token from koji-init and the metadata
   from osbuild-koji to import the build into koji if it succeeded
   or mark it as failed if it failed.
2020-11-11 18:16:42 +01:00
..
api.gen.go worker: require workers to pass their architecture 2020-09-23 14:28:52 +01:00
api.go worker: prefix all routes with /api/worker/v1 2020-09-24 21:08:56 +01:00
openapi.yml worker: introduce dynamicArgs 2020-11-11 18:16:42 +01:00