Skip to content

Commit 7394965

Browse files
committed
test: Add codeflare stack logs to uploaded artifacts
1 parent 494afe6 commit 7394965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,19 @@ jobs:
184184
if: always() && steps.deploy.outcome == 'success'
185185
run: |
186186
echo "Printing CodeFlare operator logs"
187-
kubectl logs -n openshift-operators --tail -1 -l app.kubernetes.io/name=codeflare-operator
187+
kubectl logs -n openshift-operators --tail -1 -l app.kubernetes.io/name=codeflare-operator | tee ${CODEFLARE_TEST_OUTPUT_DIR}/codeflare-operator.log
188188
189189
- name: Print MCAD controller logs
190190
if: always() && steps.deploy.outcome == 'success'
191191
run: |
192192
echo "Printing MCAD controller logs"
193-
kubectl logs -n codeflare-system --tail -1 -l component=multi-cluster-application-dispatcher
193+
kubectl logs -n codeflare-system --tail -1 -l component=multi-cluster-application-dispatcher | tee ${CODEFLARE_TEST_OUTPUT_DIR}/mcad.log
194194
195195
- name: Print KubeRay operator logs
196196
if: always() && steps.deploy.outcome == 'success'
197197
run: |
198198
echo "Printing KubeRay operator logs"
199-
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay
199+
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log
200200
201201
- name: Upload logs
202202
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)