This repository was archived by the owner on Jun 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ init_ci_flags() {
4040 # Use the forked version of containerd for Confidential Containers
4141 # Valyes: "yes|no"
4242 export FORKED_CONTAINERD=" no"
43+ # Do the pull on the guest using the upstream containerd for Confidential Containers
44+ # Values: "yes|no"
45+ export IMAGE_OFFLOAD_TO_GUEST=" no"
4346 # Hypervisor to use
4447 export KATA_HYPERVISOR=" "
4548 # Install k8s
@@ -131,6 +134,20 @@ case "${CI_JOB}" in
131134 ;;
132135 esac
133136 ;;
137+ " CC_CRI_CONTAINERD_K8S_IMAGE_OFFLOAD_TO_GUEST" )
138+ # This job only tests containerd + k8s
139+ init_ci_flags
140+ export CRI_CONTAINERD=" yes"
141+ export CRI_RUNTIME=" containerd"
142+ export KATA_HYPERVISOR=" qemu"
143+ export KUBERNETES=" yes"
144+ # Export any CC specific environment variables
145+ export KATA_BUILD_CC=" yes"
146+ export FORKED_CONTAINERD=" no"
147+ export IMAGE_OFFLOAD_TO_GUEST=" yes"
148+ export MEASURED_ROOTFS=" yes"
149+ export AA_KBC=" offline_fs_kbc"
150+ ;;
134151" CC_SEV_CRI_CONTAINERD_K8S" |" CC_SNP_CRI_CONTAINERD_K8S" )
135152 init_ci_flags
136153 export CRI_CONTAINERD=" yes"
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ case "${CI_JOB}" in
8383 info " Running Confidential Containers tests for AMD SEV-SNP"
8484 sudo -E PATH=" $PATH " CRI_RUNTIME=" containerd" bash -c " make cc-snp-kubernetes"
8585 ;;
86- " CC_CRI_CONTAINERD_K8S" |" CC_CRI_CONTAINERD_K8S_TDX_QEMU" |" CC_CRI_CONTAINERD_K8S_SE_QEMU" |" CC_CRI_CONTAINERD_K8S_TDX_CLOUD_HYPERVISOR" )
86+ " CC_CRI_CONTAINERD_K8S" |" CC_CRI_CONTAINERD_K8S_TDX_QEMU" |" CC_CRI_CONTAINERD_K8S_SE_QEMU" |" CC_CRI_CONTAINERD_K8S_TDX_CLOUD_HYPERVISOR" | " CC_CRI_CONTAINERD_K8S_IMAGE_OFFLOAD_TO_GUEST " )
8787 info " Running Confidential Container tests"
8888 sudo -E PATH=" $PATH " CRI_RUNTIME=" containerd" bash -c " make cc-kubernetes"
8989 ;;
You can’t perform that action at this time.
0 commit comments