gha: skip SNP attestation test

Skip the SNP attestation test for now.

Signed-off-by: Niteesh Dubey <niteesh@us.ibm.com>
This commit is contained in:
Niteesh Dubey 2024-07-09 15:20:59 +00:00
parent e7b4e5e386
commit 647dad2a00

View File

@ -20,6 +20,9 @@ setup() {
if [ "${KBS}" = "false" ]; then
skip "Test skipped as KBS not setup"
fi
if [ "${KATA_HYPERVISOR}" = "qemu-snp" ]; then
skip "Test skipped as SNP attestation not setup"
fi
setup_common
get_pod_config_dir
@ -90,6 +93,9 @@ teardown() {
if [ "${KBS}" = "false" ]; then
skip "Test skipped as KBS not setup"
fi
if [ "${KATA_HYPERVISOR}" = "qemu-snp" ]; then
skip "Test skipped as SNP attestation not setup"
fi
[ -n "${pod_name:-}" ] && kubectl describe "pod/${pod_name}" || true
[ -n "${pod_config_dir:-}" ] && kubectl delete -f "${K8S_TEST_YAML}" || true