Code Monkey home page Code Monkey logo

Comments (15)

hairongchen avatar hairongchen commented on August 15, 2024 1
  • provision a server in public cloud
  • setup Jenkins
  • setup enclave-cc dependencies
  • integrate with github actions as runner and prepare basic scripts
  • run e2e case
  • run operator CI case

from enclave-cc.

hairongchen avatar hairongchen commented on August 15, 2024 1

operator is one item we definitely should take care of, but we need also let developers have a 'quick' integration path without Kubernets precondition for component test

from enclave-cc.

huliucheng1 avatar huliucheng1 commented on August 15, 2024 1

I'll follow the CI pipeline PR (confidential-containers/operator#133) discussed in the slack channel about monitoring the enclave-cc operator CI state and future extension work.

from enclave-cc.

ariel-adam avatar ariel-adam commented on August 15, 2024

@stevenhorsman is this issue still relevant or can be closed?
If it's still relevant to what release do you think we should map it to (mid-November, end-December, mid-February etc...)?

from enclave-cc.

stevenhorsman avatar stevenhorsman commented on August 15, 2024

I believe this is still relevant. It's up to the enclave-cc team as to when they plan to do it, I don't have any input.

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

I believe this is still relevant. It's up to the enclave-cc team as to when they plan to do it, I don't have any input.

It's relevant and important. I've proposed it to be part of CC-V0.2.0 Drop.

from enclave-cc.

ariel-adam avatar ariel-adam commented on August 15, 2024

Cool, I've changed the priority to high since you feel it's important :-).

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

@hairongchen-intel what are the "enclave-cc dependencies"?

from enclave-cc.

hairongchen avatar hairongchen commented on August 15, 2024

@hairongchen-intel what are the "enclave-cc dependencies"?

everything necessary to ensure we can run a component level cases in a host, like the SGX lib, runc/rune, Occlum, containerd/k8s etc.

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

We should be testing using the operator so the only pre-condition is "kubernetes cluster" and that's not enclave-cc specific

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

fine but we should not have occlum/rune/sgxsdk pre-installed

from enclave-cc.

huliucheng1 avatar huliucheng1 commented on August 15, 2024

For CI pipeline, a simple flowchart is shown below:

build CI payload image -> run CI test cases -> tag release payload image

Some cases are defined for running CI test:

  1. [runtime]
    1. Install enclave-cc runtime
    2. Uninstall enclave-cc runtime
  2. [feature]
    1. [positive sample] Pull an unencrypted signed image (eaa + verdictd + cosign)
    2. [positive sample] Pull an encrypted unsigned image (eaa + verdictd)
    3. [positive sample] Pull an encrypted signed image (eaa + verdictd + cosign)
    4. [negative sample] Unencrypted signed image with unknown signature is rejected
    5. [negative sample] Encrypted unsigned image with wrong key is rejected
  3. [workload]
    1. Deploy a hello-world workload with encrypted signed image
    2. Remove hello-world workload

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

Some cases are defined for running CI test:

@huliucheng1 thanks, I think this is a good set of cases. do you have any plans where to maintain/publish these test images (e.g., are they being built before the tests or are they something we get to share with Kata-CI)?

from enclave-cc.

hairongchen avatar hairongchen commented on August 15, 2024

making sure using same set of testing images and testing artifacts(policy files, keys, etc..) with kata-cc CI according to https://github.com/kata-containers/tests/tree/CCv0/integration/containerd/confidential/fixtures , Thanks @fidencio for the info

from enclave-cc.

mythi avatar mythi commented on August 15, 2024

In order to integrate Enclave-CC into the CC operator it needs to build it's own payload image and to demonstrate that Enclave-CC and 'Kata-CC' offer similar levels of functionality the Kata CC tests (or as close as possible) should be run on the Enclave-CC.

Some of the steps have been implemented earlier and after #123 I believe we can meet the original request.

  • enclave-cc payloads are published automatically, and tested by operator CI for each PR and in nightly builds. the tests setup a kind cluster and deploys "simulated" enclave-cc on Github runners
  • enclave-cc repository builds payloads for both SIM and HW SGX modes, HW mode is tested on an SGX VM w/ eaa_kbc image decryption and cosign based signature verification

from enclave-cc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.