@@ -43,14 +43,12 @@ jobs:
4343 unlink nix-images || true
4444 nix build --show-trace --file . lixImage.push --out-link nix-images
4545 ./nix-images/bin/push
46- cachix push nix-csi ./nix-images
4746
4847 - name : Build and push scratch image
4948 run : |
5049 unlink nix-scratches || true
5150 nix build --show-trace --file . scratchImage.push --out-link nix-scratches
5251 ./nix-scratches/bin/push
53- cachix push nix-csi ./nix-scratches
5452
5553 test-kind-cache :
5654 needs : build
@@ -81,20 +79,20 @@ jobs:
8179
8280 - name : Wait for nix-csi node daemonset
8381 run : |
84- kubectl rollout status daemonset/nix-node -n nix-csi --timeout=60s
82+ kubectl rollout status daemonset/nix-node -n nix-csi --timeout=300s
8583
8684 - name : Wait for nix-csi cache pod
8785 run : |
88- kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=cache -n nix-csi --timeout=60s
86+ kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=cache -n nix-csi --timeout=300s
8987
9088 - name : Wait for test workload
9189 run : |
92- kubectl wait --for=condition=complete job/flake-hello job/expr-hello job/path-hello -n nix-csi --timeout=120s
90+ kubectl wait --for=condition=complete job/flake-hello job/expr-hello job/path-hello -n nix-csi --timeout=300s
9391
9492 - name : Delete jobs and verify CSI cleanup
9593 run : |
9694 kubectl delete job flake-hello expr-hello path-hello -n nix-csi
97- kubectl wait --for=delete pod -l "job-name in (flake-hello,expr-hello,path-hello)" -n nix-csi --timeout=60s
95+ kubectl wait --for=delete pod -l "job-name in (flake-hello,expr-hello,path-hello)" -n nix-csi --timeout=300s
9896
9997 - name : Print node logs
10098 run : |
@@ -110,9 +108,15 @@ jobs:
110108 echo "=== Cache pod logs ==="
111109 kubectl logs -l app.kubernetes.io/name=cache -n nix-csi --tail -1 || true
112110
111+ echo "=== Cache pod describe ==="
112+ kubectl describe -l app.kubernetes.io/name=cache-n nix-csi || true
113+
113114 echo "=== Node pod logs ==="
114115 kubectl logs -l app.kubernetes.io/name=csi -n nix-csi --tail -1 || true
115116
117+ echo "=== Node pod describe ==="
118+ kubectl describe -l app.kubernetes.io/name=csi -n nix-csi || true
119+
116120 echo "=== Init pod logs ==="
117121 kubectl logs -l app.kubernetes.io/name=init -n nix-csi --tail -1 || true
118122
@@ -147,16 +151,16 @@ jobs:
147151
148152 - name : Wait for nix-csi node daemonset
149153 run : |
150- kubectl rollout status daemonset/nix-node -n nix-csi --timeout=60s
154+ kubectl rollout status daemonset/nix-node -n nix-csi --timeout=300s
151155
152156 - name : Wait for test workload
153157 run : |
154- kubectl wait --for=condition=complete job/flake-hello job/expr-hello job/path-hello -n nix-csi --timeout=120s
158+ kubectl wait --for=condition=complete job/flake-hello job/expr-hello job/path-hello -n nix-csi --timeout=300s
155159
156160 - name : Delete jobs and verify CSI cleanup
157161 run : |
158162 kubectl delete job flake-hello expr-hello path-hello -n nix-csi
159- kubectl wait --for=delete pod -l "job-name in (flake-hello,expr-hello,path-hello)" -n nix-csi --timeout=60s
163+ kubectl wait --for=delete pod -l "job-name in (flake-hello,expr-hello,path-hello)" -n nix-csi --timeout=300s
160164
161165 - name : Print node logs
162166 run : |
0 commit comments