debian-forge-composer/internal
Tomáš Hozza 1f590aa232 Weldr/ComposeRequest: OSTree options nil if not set
Previously, the `OSTree` property in the Weldr API `ComposeRequest`
struct was not a pointer to the `ostree.ImageOptions` type. As a result,
it was initialized to an empty struct, even if not set in the client API
call.

As a result, the `OSTree` property in the `distro.ImageOptions` was
always not `nil`, when initializing the osbuild manifest. However, after
a change in `osbuild/images` [0], providing OSTree options for
non-OSTree image types is no longer considered valid. This caused a
failure to submit a new compose for any non-OSTree image type.

Change the `OSTree` property in Weldr `ComposeRequest` to be a pointer
and mark it as optional.

[0] https://github.com/osbuild/images/pull/1071

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-09 09:46:54 +01:00
..
auth internal/auth: add TenantChannelMiddleware 2023-06-28 15:08:37 +02:00
blueprint blueprint: add kickstart contents to conversion test 2024-10-22 22:08:39 +02:00
boot internal/boot: adapt to aws sdk v2 2024-08-20 15:32:40 +02:00
client client/compose_test: fix error message checked by the test 2024-08-23 13:10:53 +02:00
cloud cloud/awscloud: use any instance create fleet returns 2024-12-03 14:00:12 +01:00
cloudapi cloudapi: carry ostree MTLS secret over 2024-12-03 13:59:45 +01:00
common splunk_logger: move environment hook to splunk_logger pt2 2024-08-28 16:41:07 +02:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
jobqueue internal/jobqueue/jobqueuetest/jobqueuetest: fix DB tests 2024-11-19 13:55:38 +01:00
jsondb jsondb: improve performance of list operation 2023-06-20 10:45:22 +02:00
mocks mocks/dnfjson: support new depsolve result 2024-04-17 10:27:08 +02: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 osbuild/images update: ignore repoconfigs where appropriate 2024-04-17 10:27:08 +02:00
target internal/target: add Azure image HyperV generation 2024-11-21 11:22:20 +01:00
test Drop common.CurrentArch() in favor of osbuild/images 2024-01-26 11:32:34 +01:00
upload internal/upload/azure: support different hyper v generations 2024-11-21 11:22:20 +01:00
weldr Weldr/ComposeRequest: OSTree options nil if not set 2024-12-09 09:46:54 +01:00
worker internal/worker/server: return an error on depsolve timeout HMS-2989 2024-11-19 13:55:38 +01:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00