Skip to content

Commit efa190b

Browse files
committed
Dump logs
1 parent 931e185 commit efa190b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pre-merge.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ jobs:
160160
kubectl get pvc -A
161161
kubectl describe nodes
162162
helm ls -A
163+
echo "#############################LOGS################################\n\n\n"
164+
for pod in $(kubectl get pods -n orch-infra --field-selector=status.phase!=Running -o jsonpath='{.items[*].metadata.name}'); do
165+
echo "Logs for pod: $pod"
166+
kubectl logs -n orch-infra "$pod" || echo "No logs for pod: $pod"
167+
echo "-----------------------------------------------------\n\n\n"
168+
done
163169
exit "$deploy_failed"
164170
fi
165171
echo "All services up and running"

0 commit comments

Comments
 (0)