debian-forge-composer/internal/weldr
Lars Karlitski a1cf3984dc worker: introduce job artifact directory
The `jobs/:job_id/builds/:build_id/image` route was awkward: the
`:jobid` was actually weldr's compose id and `:build_id` was always `0`.

Change it to `jobs/:job_id/artifacts/:name`, where `:job_id` is now a
job id, and `:name` is the name of the artifact to upload. In the
future, it could support uploading more than one artifact.

This allows removing outputs from `store`, which is now back to being a
pure JSON-store. Take care that `weldr` returns (and deletes) images
from the new (or for backwards compatibility, the old) location.

The `org.osbuild.local` target continues to exist as a marker for the
worker to know whether it should upload artifacts.
2020-05-26 10:42:20 +02:00
..
api.go worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
api_test.go worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
compose.go api/weldr: make composeToComposeEntry() take composeStatus 2020-05-19 22:20:20 +02:00
json.go client: Add functions to support compose testing 2020-04-15 11:35:05 +02:00
upload.go azure: normalize the terms for Azure credentials 2020-04-29 18:15:13 +02:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00