diff --git a/tests/integration/kubernetes/gha-run.sh b/tests/integration/kubernetes/gha-run.sh index fda4d98517..0b79e98cf5 100755 --- a/tests/integration/kubernetes/gha-run.sh +++ b/tests/integration/kubernetes/gha-run.sh @@ -415,6 +415,11 @@ function cleanup() { } function deploy_snapshotter() { + if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then + echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine" + return + fi + echo "::group::Deploying ${SNAPSHOTTER}" case ${SNAPSHOTTER} in nydus) deploy_nydus_snapshotter ;; @@ -424,6 +429,11 @@ function deploy_snapshotter() { } function cleanup_snapshotter() { + if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then + echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine" + return + fi + echo "::group::Cleanuping ${SNAPSHOTTER}" case ${SNAPSHOTTER} in nydus) cleanup_nydus_snapshotter ;;