Skip to content

Commit

Permalink
ci: add ceph logs artifact to the demo and pytest flows
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum authored and baum committed Feb 5, 2025
1 parent 0d6cc86 commit 1782220
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,17 @@ jobs:
name: core_pytest_${{ matrix.test }}
path: /tmp/coredump/core.*

- name: Copy ceph logs
if: success() || failure()
run: docker cp ceph:/ceph/out /tmp/out

- name: Upload ceph logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ceph_out_pytest_${{ matrix.test }}
path: /tmp/out/*.log

- name: Display logs
if: success() || failure()
run: |
Expand Down Expand Up @@ -356,6 +367,17 @@ jobs:
# with:
# limit-access-to-actor: true

- name: Copy ceph logs
if: success() || failure()
run: docker cp ceph:/ceph/out /tmp/out

- name: Upload ceph logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ceph_out_demo_${{ matrix.security_protocol }}
path: /tmp/out/*.log

- name: Display logs
if: success() || failure()
run: make logs OPTS=''
Expand Down Expand Up @@ -646,7 +668,7 @@ jobs:
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ceph_out_${{ matrix.test }}
name: ceph_out_ha_${{ matrix.test }}
path: /tmp/out/*.log

- name: Display logs
Expand Down Expand Up @@ -868,4 +890,4 @@ jobs:
if: success() || failure()
run: |
make down
make clean
make clean

0 comments on commit 1782220

Please sign in to comment.