debian-forge-composer/internal/target
Tomas Hozza 40abb32dec target: deprecate local target and don't use it anywhere
Completely remove the use of `local` target from all code, which is not
required to keep backward compatibility. The target has not been used in
composer for some time already, but some unit tests still used its data
structures. Mark the target as deprecated and adjust all unit tests that
depended on it.

The backward compatibility is kept mostly to enable long running
osbuild-composer instances, which were upgraded to still read old jobs
from the store.

While a target with the same intention will be reintroduced, the current
`local` target data structures contain many fields which would not be
relevant for the new target.

In addition, while the "local" target will be ever used only by Weldr
API, the name would be a bit misleading. Although the worker usually
runs on the same system when using Weldr API, there is no hard
requirement enforcing this setup. In reality, the worker will be
uploading the image back to the worker server, so there is room for a
better name.
2022-07-01 18:55:01 +01:00
..
aws_target.go target: use constants for target names, instead of string literals 2022-07-01 18:55:01 +01:00
azure_image_target.go target: use constants for target names, instead of string literals 2022-07-01 18:55:01 +01:00
azure_target.go target: ensure that each used target has NewXXXTargetResult defined 2022-07-01 18:55:01 +01:00
container_target.go target: ensure that each used target has NewXXXTargetResult defined 2022-07-01 18:55:01 +01:00
gcp_target.go target: use constants for target names, instead of string literals 2022-07-01 18:55:01 +01:00
koji_target.go target: use constants for target names, instead of string literals 2022-07-01 18:55:01 +01:00
local_target.go target: deprecate local target and don't use it anywhere 2022-07-01 18:55:01 +01:00
oci_target.go target: use constants for target names, instead of string literals 2022-07-01 18:55:01 +01:00
target.go target: deprecate local target and don't use it anywhere 2022-07-01 18:55:01 +01:00
targetresult.go target: ensure that each used target has NewXXXTargetResult defined 2022-07-01 18:55:01 +01:00
targetresult_test.go target: ensure that each used target has NewXXXTargetResult defined 2022-07-01 18:55:01 +01:00
vmware_target.go target: ensure that each used target has NewXXXTargetResult defined 2022-07-01 18:55:01 +01:00