debian-forge-composer/internal/cloudapi/v2
Tomas Hozza 85f9f07a1f Cloud API: support cloud upload for Koji composes
Add support to handle upload options in image requests for Koji
composes. The image is always uploaded to Koji, but now it can be
uploaded to the cloud environment in addition to Koji as part of the
build.

The image name used for Koji image can't be used as is for uploading to
the cloud, because each cloud provider has its own requirements for the
valid characters. For now, let the Cloud API implementation generate a
random image name. The name is always returned in the compose status's
upload status, so it should be possible to attach it to the Koji build
to allow users to find the image.
2022-07-22 11:39:49 +01:00
..
errors.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
errors_test.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
handler.go Cloud API: support cloud upload for Koji composes 2022-07-22 11:39:49 +01:00
middleware.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
openapi.v2.gen.go Cloud API: add support for gce-rhui image type 2022-07-22 11:39:49 +01:00
openapi.v2.yml Cloud API: add support for gce-rhui image type 2022-07-22 11:39:49 +01:00
server.go Cloud API: support cloud upload for Koji composes 2022-07-22 11:39:49 +01:00
v2_internal_test.go simplify package set chain handling 2022-06-01 11:36:52 +01:00
v2_koji_test.go worker: remove osbuild-koji job 2022-07-19 16:00:52 +02:00
v2_multi_tenancy_test.go worker: remove osbuild-koji job 2022-07-19 16:00:52 +02:00
v2_test.go cloudapi: remove a confusing test 2022-07-19 16:00:52 +02:00