debian-forge-composer/internal
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
..
blueprint blueprint: DeepCopy() cannot fail 2020-05-18 11:50:15 +02:00
client worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro distro/f32: add iot-commit image type 2020-05-25 22:37:29 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: add rpm-ostree stage 2020-05-25 22:37:29 +02:00
rcm worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
rpmmd dnf-json: set metadata_expire 2020-04-11 19:14:02 +02:00
store worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
target store: move queue out of the store 2020-05-08 14:53:00 +02:00
test test/helper: add comparison for ImageType objects 2020-05-18 11:50:15 +02:00
upload Remove AWS snapshot import timeout 2020-05-19 22:34:04 +02:00
weldr worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
worker worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00