Skip to content

Commit bd829c6

Browse files
committed
Moved the dump-all-container logic elsewhere
Signed-off-by: Jun Duan <jun.duan.phd@outlook.com>
1 parent 541315d commit bd829c6

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci-e2e-openshift.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -490,16 +490,12 @@ jobs:
490490
if: always()
491491
run: |
492492
for pod in $(kubectl get pods -n "$FMA_NAMESPACE" -o 'jsonpath={.items[*].metadata.name} ') ; do
493-
containers=$(kubectl get pod -n "$FMA_NAMESPACE" "$pod" -o 'jsonpath={.spec.containers[*].name}')
494-
495-
for container in $containers ; do
496-
echo ""
497-
echo "=== Previous log of $pod (container: $container) ==="
498-
kubectl logs -n "$FMA_NAMESPACE" "$pod" -c "$container" --previous || true
499-
echo ""
500-
echo "=== Log of $pod (container: $container) ==="
501-
kubectl logs -n "$FMA_NAMESPACE" "$pod" -c "$container" || true
502-
done
493+
echo ""
494+
echo "=== Previous log of $pod ==="
495+
kubectl logs -n "$FMA_NAMESPACE" $pod --previous || true
496+
echo ""
497+
echo "=== Log of $pod ==="
498+
kubectl logs -n "$FMA_NAMESPACE" $pod || true
503499
done
504500
505501
- name: Dump vLLM instance logs from launchers

0 commit comments

Comments
 (0)