debian-forge-composer/internal/store
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
..
test store: verify that old versions of the store can still be unmarshalled 2020-06-03 00:30:01 +02:00
compose.go distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00
fixtures.go distro: introduce PackageSets 2021-03-10 11:52:05 +00:00
json.go distro/rhel84: new imageType implementation 2021-03-17 18:12:17 +00:00
json_test.go store: Add newImageBuildFromV0 test 2020-08-13 17:47:57 +02:00
store.go rpmmd: allow check_gpg to be configured for system repos 2020-06-10 19:25:54 +02:00
store_test.go osbuild: rename package to osbuild1 2021-03-17 18:12:17 +00:00