debian-forge-composer/internal/distro
Achilleas Koutsou 541cbab0f6 distro/rhel84: new imageType implementation
imageTypeS2 implements the distro.ImageType interface buts generates a
Manifest matching the new osbuild v2 schema.

Two new image types are added to the rhel84 distro (x84_64 and aarch64)
for generating OCI containers contain an Edge (ostree) commit and, when
run, start a web serer to serve the commit.

The image type uses the new PackageSets map to define packages (and
excludes) for the image.  The old methods (Packages() and
BuildPackages()) are implemented for compatibility with the old
workflow.
The image also defines an extra package set for the container that will
serve the package: "httpd" (and its dependencies).

The distro.ImageType interface has a new method: Exports()
It should return a list of names or IDs of artefacts that should be
exported from osbuild when the job is complete.
For the old image types, this is simply set to "assembler".
2021-03-17 18:12:17 +00:00
..
distro_test_common distro/test: use the new default distroregistry 2021-03-12 08:29:30 +01:00
fedora32 distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
fedora33 distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
fedoratest distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
rhel8 distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
rhel84 distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
test_distro distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
distro.go distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
distro_test.go distro/test: use the new default distroregistry 2021-03-12 08:29:30 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00