-
Notifications
You must be signed in to change notification settings - Fork 645
feat: Enable BVT Container tests #17070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f5edbe7
9579df1
ab036d0
32d92d5
2298bdd
dfa7d0a
5879618
a7867fc
9d99f4c
743b470
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,10 @@ runtime-package-management = true | |
| [images.container-base] | ||
| description = "Container Base Image" | ||
| definition = { type = "kiwi", path = "container-base/container-base.kiwi", profile = "core" } | ||
| tests.test-suites = [{ name = "static-image-checks" }] | ||
| tests.test-suites = [ | ||
| { name = "static-image-checks" }, | ||
| { name = "container-bvt-tests" }, | ||
| ] | ||
|
|
||
| [images.container-base.capabilities] | ||
| machine-bootable = false | ||
|
|
@@ -61,4 +64,21 @@ extra-args = [ | |
| "--image-path", "{image-path}", | ||
| "--image-name", "{image-name}", | ||
| "--capabilities", "{capabilities}", | ||
| "-m", "not runtime_container_tests", | ||
| ] | ||
|
|
||
| # Container Business Validation Tests (BVT) | ||
| [test-suites.container-bvt-tests] | ||
| type = "pytest" | ||
| description = "Container BVT: runtime validation of system resources, networking, filesystem, and package management" | ||
|
|
||
| [test-suites.container-bvt-tests.pytest] | ||
| working-dir = "tests" | ||
| install = "pyproject" | ||
| test-paths = ["cases/container-base/runtime/test_container_bvt.py"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not just specify the whole |
||
| extra-args = [ | ||
| "--image-path", "{image-path}", | ||
| "--image-name", "{image-name}", | ||
| "--capabilities", "{capabilities}", | ||
| "-v", "-s" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think it makes sense to hard-code |
||
| ] | ||
Uh oh!
There was an error while loading. Please reload this page.