mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-02 17:34:18 +00:00
Merge pull request #9768 from fidencio/topic/ci-tdx-enable-cdh-test
ci: kbs: Enable CDH tests for TDX
This commit is contained in:
@@ -251,7 +251,7 @@ function kbs_k8s_deploy() {
|
|||||||
echo "Setting up custom PCCS for TDX"
|
echo "Setting up custom PCCS for TDX"
|
||||||
cat <<- EOF > "${COCO_KBS_DIR}/config/kubernetes/custom_pccs/sgx_default_qcnl.conf"
|
cat <<- EOF > "${COCO_KBS_DIR}/config/kubernetes/custom_pccs/sgx_default_qcnl.conf"
|
||||||
{
|
{
|
||||||
"pccs_url": "https://localhost:8081/sgx/certification/v4/",
|
"pccs_url": "https://$(hostname -i):8081/sgx/certification/v4/",
|
||||||
|
|
||||||
// To accept insecure HTTPS certificate, set this option to false
|
// To accept insecure HTTPS certificate, set this option to false
|
||||||
"use_secure_cert": false
|
"use_secure_cert": false
|
||||||
|
@@ -15,7 +15,6 @@ export KATA_HYPERVISOR="${KATA_HYPERVISOR:-qemu}"
|
|||||||
export AA_KBC="${AA_KBC:-cc_kbc}"
|
export AA_KBC="${AA_KBC:-cc_kbc}"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
[ "${KATA_HYPERVISOR}" = "qemu-tdx" ] && skip "Test not ready yet for ${KATA_HYPERVISOR}"
|
|
||||||
is_confidential_runtime_class || skip "Test not supported for ${KATA_HYPERVISOR}."
|
is_confidential_runtime_class || skip "Test not supported for ${KATA_HYPERVISOR}."
|
||||||
|
|
||||||
if [ "${KBS}" = "false" ]; then
|
if [ "${KBS}" = "false" ]; then
|
||||||
@@ -83,7 +82,6 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
[ "${KATA_HYPERVISOR}" = "qemu-tdx" ] && skip "Test not ready yet for ${KATA_HYPERVISOR}"
|
|
||||||
is_confidential_runtime_class || skip "Test not supported for ${KATA_HYPERVISOR}."
|
is_confidential_runtime_class || skip "Test not supported for ${KATA_HYPERVISOR}."
|
||||||
|
|
||||||
if [ "${KBS}" = "false" ]; then
|
if [ "${KBS}" = "false" ]; then
|
||||||
|
Reference in New Issue
Block a user