Skip to content

Commit

Permalink
config: Add runtimeclass kata-qemu-se
Browse files Browse the repository at this point in the history
This is to add a new runtimeclass `kata-qemu-se` and update its payload
image for e2e test.

Fixes: #190

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
  • Loading branch information
BbolroC committed Jun 19, 2023
1 parent 83b5134 commit 4156fec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions bundle/manifests/cc-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ metadata:
"kata-clh-tdx-eaa-kbc"
"kata-qemu",
"kata-qemu-sev",
"kata-qemu-se",
"kata-qemu-tdx",
"kata-qemu-tdx-eaa-kbc",
"kata-remote"
Expand Down
4 changes: 2 additions & 2 deletions config/samples/ccruntime/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ images:
- name: quay.io/confidential-containers/container-engine-for-cc-payload
newTag: 98a790e8abdcc06c4b629b290ebaa217bf82e305
- name: quay.io/confidential-containers/runtime-payload
newName: quay.io/confidential-containers/runtime-payload
newTag: kata-containers-338e18e4fd46756643cb1a307b6a20f24c350ad4
newName: quay.io/confidential-containers/runtime-payload-ci
newTag: kata-containers-128f0282e11fb33f648c0ecf1d75a40f13985e01

patches:
- patch: |-
Expand Down
2 changes: 1 addition & 1 deletion config/samples/ccruntime/s390x/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ patches:
- patch: |-
- op: replace
path: /spec/config/runtimeClassNames
value: ["kata", "kata-qemu"]
value: ["kata", "kata-qemu", "kata-qemu-se"]
target:
kind: CcRuntime
4 changes: 4 additions & 0 deletions tests/e2e/tests_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ main() {
echo "INFO: Running non-TEE tests for $runtimeclass using OfflineFS KBC"
run_non_tee_tests "$runtimeclass"
;;
kata-qemu-se)
echo "INFO: Running TEE (IBM SE) tests for $runtimeclass using OfflineFS KBC"
run_non_tee_tests "$runtimeclass"
;;
kata-qemu-tdx)
echo "INFO: Running non-TEE tests for $runtimeclass using CC KBC"
run_non_tee_tests "$runtimeclass" "cc_kbc"
Expand Down

0 comments on commit 4156fec

Please sign in to comment.