debian-forge-composer/internal
Ondřej Budai 55d3854033 targets/local: drop Location field
When support for osbuild result was added into osbuild-composer it was in
a bit hacky way - localtarget's location was reused as a path for the
result. This didn't make much sense because we want to store the result
even when image build has no localtarget.

Several past commits made store less dependant on the localtarget. The
responsibility for "holding the paths" to build artifacts was gradually
switched from the localtarget to the store while still maintaining
backwards compatibility - localtarget.Location still pointed at the
correct location.

This commit finishes the switch: local target now has no Location field.
The store is now fully responsible for managing the artifacts and paths
to them. LocalTarget is now just a simple "switch" - if image build has it,
then worker uploads an image into the store and it's then available for
download using the weldr API.
2020-02-14 11:53:38 +01:00
..
blueprint blueprints: fix group handling 2019-12-17 09:24:15 +01:00
common common: refactor build states into a separate file 2020-02-12 11:17:26 +01:00
compose targets/local: drop Location field 2020-02-14 11:53:38 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro distro: remove previous implementation of testing distro 2020-02-12 11:17:26 +01:00
jobqueue worker: upload local target image using jobqueue api 2020-02-14 11:53:38 +01:00
mocks/rpmmd targets/local: drop Location field 2020-02-14 11:53:38 +01:00
pipeline distro: add custom image size 2020-01-23 00:57:31 +01:00
rcm RCM API: return bad request instead of internal server error 2020-02-12 11:17:26 +01:00
rpmmd repositories: install the base repositories in the filesystem 2020-01-03 22:35:52 +01:00
store targets/local: drop Location field 2020-02-14 11:53:38 +01:00
target targets/local: drop Location field 2020-02-14 11:53:38 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload upload/aws: Add basic S3 upload test 2020-01-16 13:14:15 +01:00
weldr targets/local: drop Location field 2020-02-14 11:53:38 +01:00