mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 09:51:29 +00:00
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 <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
0b32360ab4
commit
f698caccc0
@ -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
|
||||
}
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
function run_tests() {
|
||||
|
Loading…
Reference in New Issue
Block a user