Skip to content

Commit

Permalink
devmapper: dragonball: Enable, but do not run, the tests
Browse files Browse the repository at this point in the history
This will make the life easier for dragonball developers to properly
enable the tests once the tests are ready.

Fixes: kata-containers#8569

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Dec 5, 2023
1 parent a8a156b commit 05ce52d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run-k8s-tests-on-garm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
matrix:
vmm:
- clh #cloud-hypervisor
- dragonball
- fc #firecracker
- qemu
snapshotter:
Expand Down
7 changes: 6 additions & 1 deletion tests/integration/kubernetes/gha-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ DOCKER_TAG=${DOCKER_TAG:-kata-containers-latest}
KATA_DEPLOY_WAIT_TIMEOUT=${KATA_DEPLOY_WAIT_TIMEOUT:-10m}
KATA_HYPERVISOR=${KATA_HYPERVISOR:-qemu}
KUBERNETES="${KUBERNETES:-}"
SNAPSHOTTER="${SNAPSHOTTER:-}"

function configure_devmapper() {
sudo mkdir -p /var/lib/containerd/devmapper
Expand Down Expand Up @@ -172,7 +173,11 @@ function run_tests() {

pushd "${kubernetes_dir}"
bash setup.sh
bash run_kubernetes_tests.sh
if [[ "${KATA_HYPERVISOR}" = "dragonball" ]] && [[ "${SNAPSHOTTER}" = "devmapper" ]]; then
echo "Skipping tests for dragonball using devmapper"
else
bash run_kubernetes_tests.sh
fi
popd
}

Expand Down

0 comments on commit 05ce52d

Please sign in to comment.