gha: Add the ability to test qemu-sev

With the changes proposed as part of this PR, a qemu-sev cluster will
be created but no tests will be performed.

GitHub Actions will only run the tests using the workflows that are
part of the **target** branch, instead of the using the ones coming
from the PR. No way to work around this for now.

After this commit is merged, the tests (not the yaml files for the
actions) will be altered in order for the checkout action  to help in this
case.

Fixes: #6711

Signed-off-by: Ryan Savino <ryan.savino@amd.com>
This commit is contained in:
Ryan Savino 2023-04-24 11:34:34 -05:00
parent 509bc8b6c8
commit 521519d745

View File

@ -54,6 +54,10 @@ else
)
fi
if [ ${KATA_HYPERVISOR} == "qemu-sev" ]; then
exit 0
fi
# we may need to skip a few test cases when running on non-x86_64 arch
arch_config_file="${kubernetes_dir}/filter_out_per_arch/${TARGET_ARCH}.yaml"
if [ -f "${arch_config_file}" ]; then