Skip to content

Commit d705bb2

Browse files
committed
Add timeout and more debug messages
1 parent d1ab900 commit d705bb2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/integration-gpu.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ jobs:
4848
MICROK8S_CHANNEL: 1.28-strict/stable
4949

5050
- name: Setup microk8s
51+
timeout-minutes: 30
5152
run: sudo -E /bin/bash ./tests/integration/config-microk8s-gpu.sh
5253
env:
53-
MICROK8S_ADDONS: "storage dns rbac gpu minio"
54+
MICROK8S_ADDONS: "hostpath-storage dns rbac gpu minio"
5455

5556
- name: Configure microk8s
57+
timeout-minutes: 5
5658
run: |
5759
sudo microk8s.status
5860
sudo snap alias microk8s.kubectl kubectl
@@ -88,6 +90,7 @@ jobs:
8890
-o ${{ steps.artifact.outputs.gpu_artifact_name }}
8991
9092
- name: Run integration tests on GPU
93+
timeout-minutes: 45
9194
run: |
9295
echo "Start test..."
9396
/bin/bash ./tests/integration/setup-aws-cli.sh

tests/integration/config-microk8s-gpu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ do
1414
sudo microk8s.kubectl get pods -A
1515
sudo microk8s.kubectl logs -n kube-system -l k8s-app=hostpath-provisioner
1616
sudo microk8s.kubectl describe pod -n gpu-operator-resources nvidia-operator-validator
17+
sudo microk8s.status
1718
sleep 60
1819

1920
echo "--------------------------------------------------------------------------------------------------------------------"

0 commit comments

Comments
 (0)