Skip to content

Commit

Permalink
debug: Increase enclave-cc timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
  • Loading branch information
fidencio committed Mar 25, 2023
1 parent b3a6dbd commit 5d9b391
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
kubectl apply -k config/samples/enclave-cc/sim
sleep 1
kubectl wait --for=jsonpath='{.status.runtimeClass}'=enclave-cc ccruntime/ccruntime-enclave-cc-sgx-mode-sim --timeout=90s
kubectl wait --for=jsonpath='{.status.runtimeClass}'=enclave-cc ccruntime/ccruntime-enclave-cc-sgx-mode-sim --timeout=180s
- name: Deploy sample workload
run: |
Expand Down
54 changes: 8 additions & 46 deletions config/samples/enclave-cc/base/ccruntime-enclave-cc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,59 +59,21 @@ spec:
postUninstall:
image: quay.io/confidential-containers/container-engine-for-cc-payload:98a790e8abdcc06c4b629b290ebaa217bf82e305
volumeMounts:
- mountPath: /opt/confidential-containers/
name: confidential-containers-artifacts
- mountPath: /etc/systemd/system/
name: etc-systemd-system
- mountPath: /var/run/dbus/system_bus_socket
name: dbus
- mountPath: /run/systemd/system
name: systemd
- mountPath: /host
name: hostfs
volumes:
- hostPath:
path: /opt/confidential-containers/
type: DirectoryOrCreate
name: confidential-containers-artifacts
- hostPath:
path: /etc/systemd/system/
type: ""
name: etc-systemd-system
- hostPath:
path: /var/run/dbus/system_bus_socket
type: ""
name: dbus
- hostPath:
path: /run/systemd/system
type: ""
name: systemd
path: /
name: hostfs
preInstall:
image: quay.io/confidential-containers/container-engine-for-cc-payload:98a790e8abdcc06c4b629b290ebaa217bf82e305
volumeMounts:
- mountPath: /opt/confidential-containers/
name: confidential-containers-artifacts
- mountPath: /etc/systemd/system/
name: etc-systemd-system
- mountPath: /var/run/dbus/system_bus_socket
name: dbus
- mountPath: /run/systemd/system
name: systemd
- mountPath: /host
name: hostfs
volumes:
- hostPath:
path: /opt/confidential-containers/
type: DirectoryOrCreate
name: confidential-containers-artifacts
- hostPath:
path: /etc/systemd/system/
type: ""
name: etc-systemd-system
- hostPath:
path: /var/run/dbus/system_bus_socket
type: ""
name: dbus
- hostPath:
path: /run/systemd/system
type: ""
name: systemd
path: /
name: hostfs
environmentVariables:
- name: NODE_NAME
valueFrom:
Expand Down

0 comments on commit 5d9b391

Please sign in to comment.