Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .ci/jenkins_job_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,23 @@ case "${CI_JOB}" in
export TEST_DOCKER="true"
export experimental_kernel="true"
;;
"CLOUD-HYPERVISOR-K8S-CONTAINERD")
init_ci_flags
export CRI_CONTAINERD="yes"
export CRI_RUNTIME="containerd"
export KATA_HYPERVISOR="cloud-hypervisor"
export KUBERNETES="yes"
export experimental_kernel="true"
;;
"CLOUD-HYPERVISOR-K8S-CRIO")
init_ci_flags
export CRIO="yes"
export CRI_RUNTIME="crio"
export KATA_HYPERVISOR="cloud-hypervisor"
export KUBERNETES="yes"
export TEST_CRIO="true"
export experimental_kernel="true"
;;
"CLOUD-HYPERVISOR-K8S-E2E-CRIO-MINIMAL")
init_ci_flags
export CRIO="yes"
Expand Down
20 changes: 14 additions & 6 deletions .ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ case "${CI_JOB}" in
sudo -E PATH="$PATH" bash -c "make crio"
;;
"CLOUD-HYPERVISOR")
echo "INFO: Containerd checks"
sudo -E PATH="$PATH" bash -c "make cri-containerd"

echo "INFO: Running kubernetes tests"
sudo -E PATH="$PATH" bash -c "make kubernetes"

echo "INFO: Running soak test"
sudo -E PATH="$PATH" bash -c "make docker-stability"

Expand All @@ -74,6 +68,20 @@ END
echo "INFO: Running podman integration tests"
bash -c "make podman"
;;
"CLOUD-HYPERVISOR-K8S-CONTAINERD")
echo "INFO: Containerd checks"
sudo -E PATH="$PATH" bash -c "make cri-containerd"

echo "INFO: Running kubernetes tests with containerd"
sudo -E PATH="$PATH" bash -c "make kubernetes"
;;
"CLOUD-HYPERVISOR-K8S-CRIO")
echo "INFO: Running crio tests"
sudo -E PATH="$PATH" bash -c "make crio"

echo "INFO: Running kubernetes tests with cri-o"
sudo -E PATH="$PATH" bash -c "make kubernetes"
;;
"CLOUD-HYPERVISOR-K8S-E2E-CRIO-MINIMAL")
sudo -E PATH="$PATH" bash -c "make kubernetes-e2e"
;;
Expand Down
4 changes: 4 additions & 0 deletions integration/cri-o/crio_skip_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ if [ "${KATA_HYPERVISOR}" == "firecracker" ]; then
skipCRIOTests+=(
'test "privileged ctr device add"'
)
elif [ "${KATA_HYPERVISOR}" == "cloud-hypervisor" ]; then
skipCRIOTests+=(
'test "privileged ctr device add"'
)
fi