Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
ci: add CC_CRI_CONTAINERD job
Browse files Browse the repository at this point in the history
Added the CC_CRI_CONTAINERD job type which will configure the kata containers
build for running the Confidential Containers tests for containerd.

Fixes #4509
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Feb 28, 2022
1 parent 5e4180b commit 0678bab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .ci/ci_job_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,24 @@ case "${CI_JOB}" in
export KATA_HYPERVISOR="qemu"
export KUBERNETES="no"
;;
"CRI_CONTAINERD"|"CRI_CONTAINERD_K8S")
"CRI_CONTAINERD"|"CRI_CONTAINERD_K8S"|"CC_CRI_CONTAINERD")
# This job only tests containerd + k8s
init_ci_flags
export CRI_CONTAINERD="yes"
export CRI_RUNTIME="containerd"
export KATA_HYPERVISOR="qemu"
[ "${CI_JOB}" == "CRI_CONTAINERD_K8S" ] && export KUBERNETES="yes"
case "${CI_JOB}" in
"CRI_CONTAINERD_K8S")
export KUBERNETES="yes"
;;
"CC_CRI_CONTAINERD")
# Export any CC specific environment variables
export CCV0="yes"
#export SKOPEO=${SKOPEO:-}
export UMOCI=yes
export SECCOMP=yes
;;
esac
;;
"CRIO_K8S")
init_ci_flags
Expand Down
4 changes: 4 additions & 0 deletions .ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ case "${CI_JOB}" in
echo "INFO: Running ksm test"
sudo -E PATH="$PATH" CRI_RUNTIME="containerd" bash -c "make ksm"
;;
"CC_CRI_CONTAINERD")
echo "INFO: Running Confidential Container tests"
sudo -E PATH="$PATH" CRI_RUNTIME="containerd" bash -c "make cc-containerd"
;;
"CRIO_K8S")
echo "INFO: Running kubernetes tests"
sudo -E PATH="$PATH" bash -c "make kubernetes"
Expand Down

0 comments on commit 0678bab

Please sign in to comment.