Skip to content

Commit 8b6232d

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
e2e tests: Export all KinD logs
1 parent 944300b commit 8b6232d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-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+
uses: ./common/github-actions/kind-export-logs
97+
if: always() && steps.deploy.outcome == 'success'
98+
with:
99+
output-directory: ${CODEFLARE_TEST_OUTPUT_DIR}
100+
95101
- name: Upload logs
96102
uses: actions/upload-artifact@v3
97103
if: always() && steps.deploy.outcome == 'success'

.github/workflows/olm_tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ jobs:
185185
echo "Printing KubeRay operator logs"
186186
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log
187187
188+
- name: Export all KinD pod logs
189+
uses: ./common/github-actions/kind-export-logs
190+
if: always() && steps.deploy.outcome == 'success'
191+
with:
192+
output-directory: ${CODEFLARE_TEST_OUTPUT_DIR}
193+
188194
- name: Upload logs
189195
uses: actions/upload-artifact@v3
190196
if: always() && steps.deploy.outcome == 'success'

0 commit comments

Comments
 (0)