ci: k8s-tests: test mariner and runtime-rs

Disable policy tests when using mariner and runtime-rs. These are not supported yet.

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
Saul Paredes
2026-03-03 12:57:02 -08:00
parent 1c2d5cb57d
commit baf0f16804
4 changed files with 14 additions and 2 deletions

View File

@@ -54,6 +54,12 @@ jobs:
- host_os: cbl-mariner
vmm: clh
instance-type: normal
- host_os: cbl-mariner
vmm: cloud-hypervisor
instance-type: small
- host_os: cbl-mariner
vmm: cloud-hypervisor
instance-type: normal
runs-on: ubuntu-22.04
permissions:
contents: read

View File

@@ -450,7 +450,9 @@ function main() {
# Auto-generate policy on some Host types, if the caller didn't specify an AUTO_GENERATE_POLICY value.
if [[ -z "${AUTO_GENERATE_POLICY}" ]]; then
if [[ "${KATA_HOST_OS}" = "cbl-mariner" ]]; then
# https://github.com/kata-containers/kata-containers/issues/12839
if [[ "${KATA_HOST_OS}" = "cbl-mariner" && \
"${KATA_HYPERVISOR}" = "clh" ]]; then
AUTO_GENERATE_POLICY="yes"
elif [[ "${KATA_HYPERVISOR}" = qemu-coco-dev* && \
( "${TARGET_ARCH}" = "x86_64" || "${TARGET_ARCH}" = "aarch64" ) && \

View File

@@ -352,7 +352,9 @@ hard_coded_policy_tests_enabled() {
fi
done
if [[ "${enabled}" == "no" && "${KATA_HOST_OS}" == "cbl-mariner" ]]; then
# https://github.com/kata-containers/kata-containers/issues/12720
if [[ "${enabled}" == "no" && "${KATA_HOST_OS}" == "cbl-mariner" && \
"${KATA_HYPERVISOR}" == "clh" ]]; then
enabled="yes"
fi

View File

@@ -80,6 +80,8 @@ mapping:
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-aks / run-k8s-tests (cbl-mariner, clh, normal)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-aks / run-k8s-tests (cbl-mariner, clh, small, containerd)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-aks / run-k8s-tests (cbl-mariner, clh, small, oci-distribution)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-aks / run-k8s-tests (cbl-mariner, cloud-hypervisor, small)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-aks / run-k8s-tests (cbl-mariner, cloud-hypervisor, normal)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-free-runner / run-k8s-tests (clh, lts)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-free-runner / run-k8s-tests (clh, active)
- Kata Containers CI / kata-containers-ci-on-push / run-k8s-tests-on-free-runner / run-k8s-tests (dragonball, lts)