-
Notifications
You must be signed in to change notification settings - Fork 70
SGX-free builds #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SGX-free builds #622
Conversation
7519463 to
6aa554e
Compare
| clean: | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - name: "Prune docker" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is quite confusing, you can browse the file here.
| - name: "Run the tests" | ||
| run: /build/faasm/bin/tests | ||
|
|
||
| sgx-tests: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't merge this with tests as a single job with a matrix because tests already has the sanitisers matrix, and we only want to run the SGX tests with no sanitisers.
Shillaker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, actually a lot cleaner than I thought it would be 👍
In this PR I remove SGX completely from the default (
base,worker,cli) containers. As suggested, I re-purpose thesgx.dockerfileintobase-sgx.dockerfilethat inherits frombasewith SGX installed. As a result, we generate the following new docker images:base-sgx,base-sgx-sim,worker-sgx,worker-sgx-sim,cli-sgx,cli-sgx-sim. All of them are created as a parallelisedReleaseworkflow file with the following stages and dependencies (images in the same column are built in parallel through a matrix):Closes #617