Skip to content

Commit

Permalink
WIP: debug
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed Aug 22, 2024
1 parent dd6a1de commit c078e7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ jobs:
if: ${{ matrix.sgx_mode == 'SIM' }}
run: |
SANDBOX_ID=$(sudo crictl runp --runtime enclavecc sandbox.json)
CONTAINER_ID=$(sudo crictl create --with-pull $SANDBOX_ID hello-world-unencrypted-$SGX_MODE.json sandbox.json)
CONTAINER_ID=$(sudo crictl create --with-pull $SANDBOX_ID hello-world-unencrypted-$SGX_MODE.json sandbox.json || true)
sudo find /run/containerd/agent-enclave -name stderr -exec cat '{}' \;
sudo crictl start $CONTAINER_ID
sleep 5
sudo crictl logs $CONTAINER_ID
Expand Down
1 change: 1 addition & 0 deletions tools/packaging/build/unified-bundle/config.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"ENCLAVE_AGENT=true",
"OCCLUM_LOG_LEVEL=trace",
"TERM=xterm"
],
"cwd": "/run/rune/occlum_instance",
Expand Down

0 comments on commit c078e7b

Please sign in to comment.