Skip to content

Commit

Permalink
Merge pull request #383 from fidencio/topic/add-tdx-ci
Browse files Browse the repository at this point in the history
ci: Run the e2e tests on TDX
  • Loading branch information
wainersm committed Jun 6, 2024
2 parents 7585bc3 + 0258d49 commit 15e862d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ jobs:
matrix:
runtimeclass:
- "kata-qemu"
- "kata-clh"
instance:
- "az-ubuntu-2004"
- "az-ubuntu-2204"
- "s390x"
- "tdx"
exclude:
- runtimeclass: "kata-clh"
instance: "s390x"
- runtimeclass: "kata-qemu"
instance: "tdx"
include:
- runtimeclass: "kata-qemu-tdx"
instance: "tdx"
runs-on: ${{ matrix.instance }}
steps:
- name: Take a pre-action for self-hosted runner
Expand Down
7 changes: 3 additions & 4 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Kind version `v0.16.0` have been successfully tested on the following Linux dist
- `Ubuntu 20.04`
- `Ubuntu 22.04`

>**Note**: Only `kata-clh` runtimeclass works with Kind cluster.
>**Note**: Kind clusters are not supported
## Continuous Integration (CI)

Expand All @@ -97,10 +97,9 @@ The following jobs will check for regessions on the default CcRuntime:
|Job name | TEE | OS | VMM |
|---|---|---|---|
|e2e-pr / operator tests (kata-qemu, s390x) | Non-TEE | Ubuntu 22.04 (s390x) | QEMU |
|e2e-pr / operator tests (kata-clh, az-ubuntu-2004) | Non-TEE | Ubuntu 20.04 | Cloud Hypervisor |
|e2e-pr / operator tests (kata-clh, az-ubuntu-2204) | Non-TEE | Ubuntu 22.04 | Cloud Hypervisor |
|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 |

Additionally the following jobs will check regressions on the enclave-cc CcRuntime:

Expand Down Expand Up @@ -172,7 +171,7 @@ export PATH="$PATH:/usr/local/bin"

where:

* ``-r "kata-qemu"`` - configures the runtime class (you can use ``kata-clh`` as an alternative)
* ``-r "kata-qemu"`` - configures the runtime class
* ``-u`` - performs mild cleanup afterwards (but it's not thorough and might alter pre-existing configuration)

If you intend to run the tests multiple times, you can run it without the ``-u`` which leaves the configured kubernetes cluster running. Then you can configure the rootless environment by:
Expand Down

0 comments on commit 15e862d

Please sign in to comment.