Skip to content

Commit

Permalink
Increase verbosity of RHEL logging artifacts [DI-424] [5.3.8] (#892)
Browse files Browse the repository at this point in the history
Backports #883
  • Loading branch information
JackPGreen authored Feb 17, 2025
1 parent f260e58 commit 55cf44c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tag_image_push_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,18 @@ jobs:
env:
CLUSTER_SIZE: 3

- name: Get OpenShift events
- name: Get OpenShift logs
if: ${{ always() }}
run: |
kubectl get events -n ${PROJECT_NAME} > openshift-events-jdk${{ matrix.jdk }}.log
kubectl get events -n ${PROJECT_NAME} > events.log
kubectl describe pods > pods.log
- name: Store OpenShift events as artifact
- name: Store OpenShift logs as artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: openshift-events-jdk${{ matrix.jdk }}.log
path: openshift-events-jdk${{ matrix.jdk }}.log
name: openshift-logs-${{ github.job }}-jdk${{ matrix.jdk }}
path: '*.log'

- name: Clean up After Test
if: always()
Expand Down

0 comments on commit 55cf44c

Please sign in to comment.