rhel85: add definitions of RHEL ec2 and ec2-ha images

Add new image type definitions `ec2` and `ec2-ha` representing the
official RHEL ec2 image types.

Add a `xzArchivePipeline()`, which returns a pipeline producing a XZ
archive from a file produced by a different pipeline.

Add rpmrepo snapshots for `rhui` and `ha` repositories used to generate
image test cases. `rhui` is used by the `ec2` image and it is available
on x86_64 and aarch64 architectures. `ha` is used by the `ec2-ha` image
and it is available only for x86_64.

The new image type definitions are currently not used by any
API test case.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-07-29 16:13:11 +02:00 committed by Ondřej Budai
parent 49ed70a565
commit c97420e879
11 changed files with 34796 additions and 2 deletions

View file

@ -359,6 +359,8 @@ var imageTypeCompatMapping = map[string]string{
"tar-installer": "tar-installer",
"test_type": "test_type", // used only in json_test.go
"test_type_invalid": "test_type_invalid", // used only in json_test.go
"ec2": "ec2",
"ec2-ha": "ec2-ha",
}
func imageTypeToCompatString(imgType distro.ImageType) string {