debian-forge-composer/internal
Ondřej Budai 00d602efc3 cloudapi: make UploadOptions anyOf
oneOf means that the body is valid against exactly ONE schema. There's an
issue with AWS EC2 upload options though: It requires region and
share_with_accounts fields. Such a request is also valid AWS S3 upload though
(this one only require region). This means that AWS EC2 upload options will be
always valid against two schemas which violates the oneOf rule.

Let's switch to anyOf and explain this in the openAPI spec.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-05-16 13:20:46 +02:00
..
auth api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
blueprint blueprint: sanitize user home directories 2022-03-28 14:08:57 +02:00
boot distro: housekeeping with cpu arch and arch.Name() 2022-05-10 19:53:41 +02:00
client client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
cloud worker: rework GCP credentials handling 2022-04-14 19:07:31 +01:00
cloudapi cloudapi: make UploadOptions anyOf 2022-05-16 13:20:46 +02:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk: test minimum directory size calculations 2022-04-29 08:55:36 +02:00
distro RHEL-84: panic error on tar image on s390x 2022-05-13 21:01:37 +03:00
distroregistry distro/fedora: refactor based on RHEL 9.0 code 2022-05-09 12:25:21 +02:00
jobqueue test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
kojiapi kojiapi: use DepsolvePackageSets instead of Depsolve 2022-04-28 14:42:49 +02:00
mocks rpmmd: introduce DepsolvePackageSets() to the RPMMD interface 2022-04-28 14:42:49 +02:00
osbuild1 osbuild1: support VMDK subformat in QEMU assembler 2022-05-04 16:22:29 +02:00
osbuild2 distro: allow user and group customizations for iot-installer 2022-05-09 12:25:21 +02:00
ostree ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
prometheus prometheus/job: measure time spent pending rather than queued 2022-05-14 17:47:38 +01:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd rpmmd: introduce DepsolvePackageSets() to the RPMMD interface 2022-04-28 14:42:49 +02:00
store distro/fedora: refactor based on RHEL 9.0 code 2022-05-09 12:25:21 +02:00
target Weldr: support GCP upload target 2022-04-14 19:07:31 +01:00
test internal/test: add small library for tests 2022-03-08 12:07:00 +01:00
upload koji: fix excessive logging & monitoring 2022-04-05 23:48:30 +02:00
weldr Stop setting the StreamOptimized option in Weldr and Cloud APIs 2022-05-04 16:22:29 +02:00
worker prometheus/job: measure time spent pending rather than queued 2022-05-14 17:47:38 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00