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 20, 2023
1 parent 83b5134 commit cf1ba38
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
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
7 changes: 6 additions & 1 deletion config/samples/ccruntime/s390x/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ nameSuffix: -s390x
resources:
- ../default

images:
- name: quay.io/confidential-containers/runtime-payload
newName: quay.io/confidential-containers/runtime-payload-ci
newTag: kata-containers-128f0282e11fb33f648c0ecf1d75a40f13985e01

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 cf1ba38

Please sign in to comment.