debian-forge-composer/cmd
Tom Gundersen fa015a70f6 rcm: rework the API for submitting composes
The API allowed composes to have multiple architectures, image
types and repositories. Turns out that's not exactly what we want
it is not clear how to combine the lits of each. Each architecture
might not combine with each image type, and it is not clear which
repositories are need for each image build. Lastly, while allowing
different image builds to have different distros in the same
compose does not appear immediately useful, there is no particular
reason to disallow that. This patch reworks the way composes are
specified.

The intention remains the same, to be able to submit several image
builds as one compose. But rather than taking arrays of image types
and architectures, take one array of image builds instead, each of
which consists of one distro, one architecture, one image build and
an array of repositories.

In a follow-up patch they will also each contain an array of upload
targets.

This means that each image build will have the same sort of structure
as a compose request in the weldr API. The reason we want to submit
an array of them rather than have them as individual composes, is that
in a follow-up patch we will introduce the concept of a "finalizer",
or "call-back" or something to that effect, which will be triggered
when all the images have been built successfully. The use-case is,
as always, koji, which requires this.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-03-29 16:08:04 +02:00
..
osbuild-composer weldr: pin a real Arch object, rather than a string 2020-03-23 15:43:55 +01:00
osbuild-dnf-json-tests osbuild-dnf-json-tests: Introduce depsolving test 2020-03-24 20:45:30 +01:00
osbuild-image-tests osbuild-image-tests: add missing build constraints 2020-03-22 13:50:28 +01:00
osbuild-pipeline tree-wide: panic when json marshalling fails 2020-03-25 10:22:16 +01:00
osbuild-rcm-tests rcm: rework the API for submitting composes 2020-03-29 16:08:04 +02:00
osbuild-tests tests: Make TestSources distro independent. Refs #315 2020-03-25 16:30:52 +01:00
osbuild-upload-aws Refactor Azure upload code to a separate package 2019-11-27 12:14:07 +01:00
osbuild-upload-azure Introduce Azure upload test 2019-11-29 12:19:40 +01:00
osbuild-worker worker: drop default port 2020-03-25 14:05:44 +01:00