Skip to content

Commit ea1261e

Browse files
authored
Pull coredns logs
1 parent af80426 commit ea1261e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/actions/execute-assert-arc-e2e/action.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,14 @@ runs:
192192
shell: bash
193193
if: always()
194194
run: |
195-
echo "::group::Listener logs"
196195
LISTENER_POD="$(kubectl get autoscalinglisteners.actions.github.com -n arc-systems -o jsonpath='{.items[*].metadata.name}')"
197196
kubectl logs $LISTENER_POD -n ${{inputs.arc-controller-namespace}}
198-
echo "::endgroup::"
197+
198+
- name: Gather coredns logs
199+
shell: bash
200+
if: always()
201+
run: |
202+
kubectl logs deployments/coredns -n kube-system
199203
200204
- name: cleanup
201205
if: inputs.wait-to-finish == 'true'
@@ -208,6 +212,4 @@ runs:
208212
shell: bash
209213
if: always()
210214
run: |
211-
echo "::group::Controller logs"
212-
kubectl logs deployment/arc-gha-rs-controller -n ${{inputs.arc-controller-namespace}}
213-
echo "::endgroup::"
215+
kubectl logs deployment/arc-gha-rs-controller -n ${{inputs.arc-controller-namespace}}

0 commit comments

Comments
 (0)