Skip to content

Commit f7d259b

Browse files
authored
Merge pull request #9 from stackhpc/alex-test-branch
Print final log lines to gh output
2 parents 0b4dbc9 + 155ef34 commit f7d259b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/multinode.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,11 @@ jobs:
363363
working-directory: ${{ github.workspace }}/terraform-kayobe-multinode
364364
if: ${{ always() && steps.config_ach.outcome == 'success' }}
365365

366+
- name: Print final lines of tmux log
367+
run: |
368+
tail -n 250 ${{ github.workspace }}/logs/tmux.kayobe:0.log
369+
if: ${{ failure() && steps.config_ach.outcome == 'success' }}
370+
366371
# GitHub Actions does not accept filenames with certain characters, and
367372
# fails the upload-artifact action if any exist. The tmux log file
368373
# contains a colon, as do previous Tempest results directories.

0 commit comments

Comments
 (0)