debian-forge-composer/cmd/osbuild-worker
Tomas Hozza 6f464949f5 target: move Filename from target options to Target
The filename of the image as produced by osbuild for a given export is
currently set in each target options type in the `Filename` struct
member. However, the value is not really specific to any target type,
but to the specific export used for the target. For this reason move the
value form target type options to the `Target` struct inside a new
struct `OsbuildArtifact` under the name`ExportFilename`.

The backward compatibility with older implementations of the composer
and workers is kept on the JSON (Un)mashaling level, where the JSON
object is always a super-set of the old and new way of providing the
export filename in the Target.
2022-07-01 18:55:01 +01:00
..
config.go worker: make default config values more idiomatic 2022-06-28 15:55:31 +01:00
config_test.go worker/config: add tests for parseConfig 2022-06-28 15:55:31 +01:00
jobimpl-depsolve.go osbuild-worker: Correct cast of dnfjson error in depsolve job 2022-06-08 23:07:37 +02:00
jobimpl-koji-finalize.go worker/koji-finalize: fix result options casting 2022-06-29 16:44:10 +02:00
jobimpl-koji-init.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild-koji.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild.go target: move Filename from target options to Target 2022-07-01 18:55:01 +01:00
main.go worker: flip error handling when parsing the config 2022-06-28 15:55:31 +01:00
osbuild.go worker: don't marshal manifest in byte[] from 2022-02-01 20:28:40 +00:00