From f698caccc0399582c47c32bca7d1a5ae5b6d4a1b Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Mon, 20 May 2024 22:06:06 +0000 Subject: [PATCH] gha: Enable install kbs and coco components for TDX This PR enables the installation and unistallation of the kbs client as well as general coco components needed for the TDX GHA CI. Signed-off-by: Gabriela Cervantes --- tests/integration/kubernetes/gha-run.sh | 28 ++++--------------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/tests/integration/kubernetes/gha-run.sh b/tests/integration/kubernetes/gha-run.sh index f33a141cb2..9f8192ea66 100755 --- a/tests/integration/kubernetes/gha-run.sh +++ b/tests/integration/kubernetes/gha-run.sh @@ -131,12 +131,7 @@ function configure_snapshotter() { } function delete_coco_kbs() { - if [ "${KATA_HYPERVISOR}" == "qemu-tdx" ]; then - echo "Skipping deleting coco kbs for ${KATA_HYPERVISOR}" - exit 0 - else - kbs_k8s_delete - fi + kbs_k8s_delete } # Deploy the CoCo KBS in Kubernetes @@ -146,12 +141,7 @@ function delete_coco_kbs() { # service externally # function deploy_coco_kbs() { - if [ "${KATA_HYPERVISOR}" == "qemu-tdx" ]; then - echo "Skipping deploying coco kbs for ${KATA_HYPERVISOR}" - exit 0 - else - kbs_k8s_deploy "$KBS_INGRESS" - fi + kbs_k8s_deploy "$KBS_INGRESS" } function deploy_kata() { @@ -273,21 +263,11 @@ function deploy_kata() { } function install_kbs_client() { - if [ "${KATA_HYPERVISOR}" == "qemu-tdx" ]; then - echo "Skipping install kbs client for ${KATA_HYPERVISOR}" - exit 0 - else - kbs_install_cli - fi + kbs_install_cli } function uninstall_kbs_client() { - if [ "${KATA_HYPERVISOR}" == "qemu-tdx" ]; then - echo "Skipping uninstall kbs client for ${KATA_HYPERVISOR}" - exit 0 - else - kbs_uninstall_cli - fi + kbs_uninstall_cli } function run_tests() {