From 8327e46357f4e2ce7cfad1263ef6decab541c8a5 Mon Sep 17 00:00:00 2001 From: Adithya Krishnan Kannan Date: Wed, 10 Jul 2024 11:46:15 -0500 Subject: [PATCH] ci: Add support for e2e tests on SEV/SNP nodes Enables testing of the kata-qemu-sev runtime class on SEV and kata-qemu-snp runtime class on the SNP self hosted runner respectively. Updated documentation accordingly. Signed-Off-By: Adithya Krishnan Kannan --- .github/workflows/ccruntime_e2e.yaml | 10 ++++++++++ docs/DEVELOPMENT.md | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ccruntime_e2e.yaml b/.github/workflows/ccruntime_e2e.yaml index 512ad128..549ae3f8 100644 --- a/.github/workflows/ccruntime_e2e.yaml +++ b/.github/workflows/ccruntime_e2e.yaml @@ -26,12 +26,22 @@ jobs: - "az-ubuntu-2204" - "s390x" - "tdx" + - "coco-ci-amd-rome-001" + - "coco-ci-amd-milan-001" exclude: - runtimeclass: "kata-qemu" instance: "tdx" + - runtimeclass: "kata-qemu" + instance: "coco-ci-amd-rome-001" + - runtimeclass: "kata-qemu" + instance: "coco-ci-amd-milan-001" include: - runtimeclass: "kata-qemu-tdx" instance: "tdx" + - runtimeclass: "kata-qemu-sev" + instance: "coco-ci-amd-rome-001" + - runtimeclass: "kata-qemu-snp" + instance: "coco-ci-amd-milan-001" runs-on: ${{ matrix.instance }} steps: - name: Take a pre-action for self-hosted runner diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index a6cebc9b..a61e90e5 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -100,6 +100,8 @@ The following jobs will check for regessions on the default CcRuntime: |e2e-pr / operator tests (kata-qemu, az-ubuntu-2004) | Non-TEE | Ubuntu 20.04 | QEMU | |e2e-pr / operator tests (kata-qemu, az-ubuntu-2204) | Non-TEE | Ubuntu 22.04 | QEMU | |e2e-pr / operator tests (kata-qemu-tdx, tdx) | TDX | Ubuntu 24.04 | QEMU | +|e2e-pr / operator tests (kata-qemu-sev, coco-ci-amd-rome-001, ) | SEV | Ubuntu 22.04 | QEMU | +|e2e-pr / operator tests (kata-qemu-snp, coco-ci-amd-milan-001) | SNP | Ubuntu 22.04 | QEMU | Additionally the following jobs will check regressions on the enclave-cc CcRuntime: