Skip to content

Commit

Permalink
ci: update enclave-cc tests
Browse files Browse the repository at this point in the history
Now that both e2e (for PRs) and cicd (nightly) tests are using the
updated payloads with the new Occlum instance path, we can drop the
sed lines and update the test deployment use the new path directly.

Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed May 3, 2024
1 parent 6d40cf0 commit 6eb777c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/enclave-cc-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ jobs:
- name: Deploy sample workload
run: |
sed -i -e 's:boot_instance:occlum_instance:' tests/e2e/enclave-cc-pod-sim.yaml
kubectl apply -f tests/e2e/enclave-cc-pod-sim.yaml
kubectl wait --for=condition=Ready pod/enclave-cc-pod-sim
1 change: 0 additions & 1 deletion .github/workflows/enclave-cc-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ jobs:
- name: Deploy sample workload
run: |
sed -i -e 's:boot_instance:occlum_instance:' tests/e2e/enclave-cc-pod-sim.yaml
kubectl apply -f tests/e2e/enclave-cc-pod-sim.yaml
kubectl wait --for=condition=Ready pod/enclave-cc-pod-sim
4 changes: 2 additions & 2 deletions tests/e2e/enclave-cc-pod-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
env:
- name: OCCLUM_RELEASE_ENCLAVE
value: "0"
workingDir: "/run/rune/boot_instance/"
workingDir: "/run/rune/occlum_instance/"
command:
- /run/rune/boot_instance/build/bin/occlum-run
- /run/rune/occlum_instance/build/bin/occlum-run
- /bin/hello_world

0 comments on commit 6eb777c

Please sign in to comment.