debian-forge-composer/cmd
Tomáš Hozza 7437770352 composer: don't create RepoRegistry using reporegistry.New()
The `reporegistry.New()` has been enhanced to return an error, in case
there were no repositories loaded. This was to fix the situation in many
unit tests, which were previously not loading any repositories and
silently not running any tests.

This however broke our SaaS deployment, where we actually do not
configure any repositories on the filesystem. As a result,
osbuild-composer started to fail on it.

Workaround this situation in osbuild-composer by reverting to the old
behavior by loading the repo configs separately and then using the
loaded repos (which could be empty map) to initialize the RepoRegistry.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-23 18:51:39 +02:00
..
gen-manifests Update osbuild/images to v0.88.0 2024-09-20 17:02:09 +02:00
mock-dnf-json switch to images/pkg/dnfjson and remove internal copy 2024-02-20 15:55:47 +01:00
osbuild-auth-tests Remove old build tag comments 2023-03-07 09:22:23 -08:00
osbuild-composer composer: don't create RepoRegistry using reporegistry.New() 2024-09-23 18:51:39 +02:00
osbuild-composer-cli-tests Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
osbuild-composer-dbjobqueue-tests Remove old build tag comments 2023-03-07 09:22:23 -08:00
osbuild-dnf-json-tests Update osbuild/images to v0.88.0 2024-09-20 17:02:09 +02:00
osbuild-image-tests internal/boot: adapt to aws sdk v2 2024-08-20 15:32:40 +02:00
osbuild-jobsite-builder osbuild-jobsite-builder: disable http.Server timeouts 2024-03-21 17:08:07 +01:00
osbuild-jobsite-manager osbuild-jobsite-manager: clean up store archive after use 2024-03-21 15:20:52 +01:00
osbuild-koji Worker/koji-finalize: import osbuild manifest and log to Koji build 2023-09-27 12:39:28 +02:00
osbuild-koji-tests Worker/koji-finalize: import osbuild manifest and log to Koji build 2023-09-27 12:39:28 +02:00
osbuild-mock-openid-provider Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
osbuild-service-maintenance osbuild-service-maintenance: adapt to aws sdk v2 2024-08-20 15:32:40 +02:00
osbuild-store-dump Update osbuild/images to v0.88.0 2024-09-20 17:02:09 +02:00
osbuild-upload-aws osbuild-upload-aws: remove aws sdk v1 dependency 2024-08-20 15:32:40 +02:00
osbuild-upload-azure azure: add an option to tag page blobs 2022-06-13 21:06:01 +02:00
osbuild-upload-container split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
osbuild-upload-gcp build(deps): bump cloud.google.com/go/compute from 1.10.0 to 1.19.3 2023-05-22 11:51:42 +02:00
osbuild-upload-generic-s3 osbuild-uploadgeneric-s3: remove aws sdk v1 dependency 2024-08-20 15:32:40 +02:00
osbuild-upload-oci internal/target: add OCI object storage target 2023-09-19 22:57:06 +02:00
osbuild-upload-pulp-ostree cmd: update the final message in osbuild-upload-pulp-ostree 2023-10-18 21:14:46 +02:00
osbuild-worker Worker/osbuild/koji: upload SBOM documents 2024-09-20 17:02:09 +02:00
osbuild-worker-executor Revert "osbuild-worker-executor: job-id in control.json as hostname" 2024-06-25 10:58:10 +02:00