-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5642 from oasisprotocol/kostko/feature/debug-nons…
…gx-pcs Add support for mock SGX builds
- Loading branch information
Showing
41 changed files
with
1,036 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#! /bin/bash | ||
|
||
############################################### | ||
# Download common E2E build artifacts and make | ||
# sure they are in the correct directories for | ||
# E2E tests to run, etc, etc. | ||
############################################### | ||
|
||
# Helpful tips on writing build scripts: | ||
# https://buildkite.com/docs/pipelines/writing-build-scripts | ||
set -euxo pipefail | ||
|
||
source .buildkite/scripts/common.sh | ||
|
||
# Randomize beginning of downloads to increase hits in CI pipeline cache | ||
sleep $((RANDOM % 5)) | ||
|
||
# Oasis node, test runner and runtime loader. | ||
download_artifact oasis-node go/oasis-node 755 | ||
download_artifact oasis-node.test go/oasis-node 755 | ||
download_artifact oasis-test-runner go/oasis-test-runner 755 | ||
download_artifact oasis-test-runner.test go/oasis-test-runner 755 | ||
|
||
# Runtime loader. | ||
download_artifact oasis-core-runtime-loader target/default/release 755 | ||
|
||
# Simple key manager runtime. | ||
download_artifact simple-keymanager.mocksgx target/default/release 755 | ||
mv target/default/release/simple-keymanager.mocksgx target/default/release/simple-keymanager | ||
download_artifact simple-keymanager.sgxs target/sgx/x86_64-fortanix-unknown-sgx/release 755 | ||
|
||
# Test simple-keyvalue runtime. | ||
download_artifact simple-keyvalue.mocksgx target/default/release 755 | ||
mv target/default/release/simple-keyvalue.mocksgx target/default/release/simple-keyvalue | ||
download_artifact simple-keyvalue.sgxs target/sgx/x86_64-fortanix-unknown-sgx/release 755 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
[advisories] | ||
ignore = [ | ||
"RUSTSEC-2020-0071", # Remove once upstream dependencies are updated. | ||
"RUSTSEC-2021-0124", # Remove once upstream dependencies are updated. | ||
"RUSTSEC-2023-0071", # Does not affect our current use of the library. | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Add support for mock SGX builds | ||
|
||
This makes it easier to test various features even when SGX hardware is | ||
not available. |
Oops, something went wrong.