debian-forge-composer/internal/distro
Achilleas Koutsou 8fd33b1590 distro/rhel8: image type separation: ami and edge
Start splitting image type definitions into separate files by logical
groups (mostly by footprint and cloud platform) for easier navigation,
like we did for rhel9.

Split AMI and Edge image types; the rest will follow in separate
commits.

Image specific package sets are defined in the file for the image type
grouping instead of the package_sets file.

A notable difference with the way it was done in rhel9 is that every
image type is defined in a function rather than a global where possible
and a function when distro version specific configuration is needed.
This is done for consistency and the change will likely be done in the
other distributions as well.
Also, instead of passing only required values to the image type
constructor (for example, osVersion and a RHEL boolean), we pass the
whole distribution object and each constructor can read whatever
information it needs.
2023-01-18 11:50:35 +01:00
..
distro_test_common gen-manifests: add ostree rhsm option 2022-12-12 13:42:52 +01:00
fedora distro: remove HostDistro contructors 2023-01-18 11:50:35 +01:00
rhel7 distro: remove HostDistro contructors 2023-01-18 11:50:35 +01:00
rhel8 distro/rhel8: image type separation: ami and edge 2023-01-18 11:50:35 +01:00
rhel9 distro: remove HostDistro contructors 2023-01-18 11:50:35 +01:00
test_distro store: Fix loading cross distro compose results 2022-11-03 08:39:22 +01:00
distro.go internal/osbuild: contenturl and rhsm secrets for ostree sources 2022-10-28 16:14:30 +02:00
distro_test.go distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
image_config.go distro: use reflection in ImageConfig.InheritFrom() 2022-09-06 14:43:24 +02:00
image_config_test.go common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00