debian-forge-composer/internal
Achilleas Koutsou 045364cbf2 cloudapi: reduce minsize type to just string
The type of the minsize parameter in the new disk customization was
meant to support both integers (size in bytes) and strings (size with
unit).  However, the schema wasn't done properly, which made any input
result in an error:

    GenericError: Failed to create the compose request:
    {"code":"IMAGE-BUILDER-COMPOSER-30","details":"request body has an
    error: doesn't match schema #/components/schemas/ComposeRequest:
    Error at \"/customizations/disk/partitions/0\": doesn't match schema
    due to: Error at \"/minsize\": input matches more than one oneOf
    schemas

Reducing it to just support strings simplifies the schema.  It's also
not an important feature reduction since sizes as integers (for
filesystems that are typically in GiB) aren't very convenient.
2025-04-29 23:40:59 +02:00
..
auth Fix non-constant log strings 2025-01-21 16:51:20 -08:00
boot lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
client client: adjust the tests to new image type names in Fedora 2025-04-25 09:26:59 +02:00
cloud internal/cloud/gcp/compute: Add TDX_CAPABLE guest OS feature 2025-02-27 13:33:22 +01:00
cloudapi cloudapi: reduce minsize type to just string 2025-04-29 23:40:59 +02:00
common common: new utility function: DerefOrDefault() 2025-03-27 11:33:56 +01:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
jobqueue jobqueue: Add AllRootJobIDs function to jobqueue 2025-02-03 17:27:31 -08:00
jsondb jsondb: improve performance of list operation 2023-06-20 10:45:22 +02:00
mocks weldr: update depsolve calls in weldr API 2025-01-29 18:03:11 +01:00
osbuildexecutor osbuildexecutor: show full osbuild exector on json decode errors 2024-08-05 14:51:40 +02:00
prometheus worker/server: update metrics on requeue 2024-11-07 17:18:48 +01:00
remotefile clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
store Delete internal/blueprint/ and import from osbuild/blueprint 2025-04-17 11:17:58 +02:00
target cloudapi: support worker server target artifact retrieval 2025-01-24 15:26:15 +01:00
test Drop common.CurrentArch() in favor of osbuild/images 2024-01-26 11:32:34 +01:00
upload lint: Clean up golangci-lint v1.60 complaints 2025-02-24 04:20:42 -08:00
weldr Many: expose rhsm.subscription_manager.rhsm.auto_enable_yum_plugins 2025-04-29 18:22:40 +03:00
worker worker: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
tools.go go.mod: bump github.com/getkin/kin-openapi to v0.131.0 2025-03-26 11:13:14 +01:00