Skip to content

Commit 26ed459

Browse files
committed
e2e tests: Export all KinD logs
1 parent 944300b commit 26ed459

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ jobs:
9292
echo "Printing KubeRay operator logs"
9393
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log
9494
95+
- name: Export all KinD pod logs
96+
if: always() && steps.deploy.outcome == 'success'
97+
run: |
98+
echo "Export all KinD pod logs to ${CODEFLARE_TEST_OUTPUT_DIR}"
99+
kind export logs ${CODEFLARE_TEST_OUTPUT_DIR} --name cluster
100+
95101
- name: Upload logs
96102
uses: actions/upload-artifact@v3
97103
if: always() && steps.deploy.outcome == 'success'

0 commit comments

Comments
 (0)