Skip to content

Commit 4d57ffa

Browse files
committed
test: enable osinfo_for() centos10
This commit enables testing for centos10 based installer images. The fix https://gitlab.com/libosinfo/osinfo-db/-/commit/fc811ba5a792967e22a0108de5a245b23da3cc66 is now released.
1 parent fad1e69 commit 4d57ffa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/test_build.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,7 @@ def osinfo_for(it: ImageBuildResult, arch: str) -> str:
634634
if it.container_ref.endswith("/centos-bootc/centos-bootc:stream9"):
635635
return f"{base} 'CentOS Stream 9 ({arch})'\n"
636636
if it.container_ref.endswith("/centos-bootc/centos-bootc:stream10"):
637-
# XXX: uncomment once
638-
# https://gitlab.com/libosinfo/osinfo-db/-/commit/fc811ba5a792967e22a0108de5a245b23da3cc66
639-
# gets released
640-
# return f"CentOS Stream 10 ({arch})"
641-
return ""
637+
return f"Media is an installer for OS 'CentOS Stream 10 ({arch})'\n"
642638
if "/fedora/fedora-bootc:" in it.container_ref:
643639
ver = it.container_ref.rsplit(":", maxsplit=1)[1]
644640
return f"{base} 'Fedora Server {ver} ({arch})'\n"

0 commit comments

Comments
 (0)