debian-forge-composer/internal/distro
Tomas Hozza 3a2415d970 distro/rhel85: add image type aliases for EDGE image types
EDGE image types are defined under a different name for RHEL-8.5,
specifically they don't contain the "rhel-" prefix any more. To ensure
backward compatibility, add image type aliases for all EDGE image types
with the "rhel-" prefix.

Image type aliases are used only when getting a specific imageType
instance by its name. When listing all available image types for an
architecture, only the current image type names are returned, without
any aliases. This prevents the image types from being exposed multiple
times under different names via Weldr API.

Extend the distro unit tests to test image type aliases.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-07-24 15:54:00 +02:00
..
distro_test_common rhel85: depsolve blueprint packages separately 2021-07-24 15:54:00 +02:00
fedora33 distro: add fedora 34 and 35 aliases to f33 2021-06-05 20:31:45 +02:00
rhel8 distro: add fedora 34 and 35 aliases to f33 2021-06-05 20:31:45 +02:00
rhel84 rhel85: tar installer main pipeline 2021-07-01 12:48:32 +02:00
rhel85 distro/rhel85: add image type aliases for EDGE image types 2021-07-24 15:54:00 +02:00
rhel90 distro/rhel90: add s390utils-core to the build pipeline for s390x 2021-06-30 14:48:57 +02:00
test_distro distro: add fedora 34 and 35 aliases to f33 2021-06-05 20:31:45 +02:00
distro.go distro: method for detecting manifest version 2021-06-29 09:33:05 +01:00
distro_test.go distro: test manifest version detection 2021-06-29 09:33:05 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00