rhel85: filsystem customization tests

This commit is contained in:
Gianluca Zuccarelli 2021-08-17 20:47:46 +01:00 committed by Tom Gundersen
parent 6c4da2b821
commit 49540ee91a
5 changed files with 57356 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -192,6 +192,22 @@ CUSTOMIZATIONS_BLUEPRINT = {
}
}
FILESYSTEM_CUSTOMIZATIONS = [
{
"mountpoint": "/usr",
"minsize": 2147483648
},
{
"mountpoint": "/var",
"minsize": 131072000
},
{
"mountpoint": "/",
"minsize": 131072000
}
]
def main(distro, arch, image_types, keep_image_info, store, output, with_customizations):
with open("tools/test-case-generators/format-request-map.json") as format_request_json:
@ -205,6 +221,9 @@ def main(distro, arch, image_types, keep_image_info, store, output, with_customi
print("Customizations are only available for qcow2 image type")
sys.exit(1)
if distro == "rhel-85":
CUSTOMIZATIONS_BLUEPRINT["customizations"]["filesystem"] = FILESYSTEM_CUSTOMIZATIONS
test_case_request = {
"compose-request": {
"distro": distro,