chg: [CI] Split logs in CI

pull/9651/head
Jakub Onderka 2024-03-30 15:28:37 +01:00
parent 2b38de942b
commit e2b5e6edc3
1 changed files with 4 additions and 1 deletions

View File

@ -269,13 +269,16 @@ jobs:
- name: Check requirements.txt - name: Check requirements.txt
run: python tests/check_requirements.py run: python tests/check_requirements.py
- name: Logs - name: System logs
if: ${{ always() }} if: ${{ always() }}
# update logs_test.sh when adding more logsources here # update logs_test.sh when adding more logsources here
run: | run: |
tail -n +1 `pwd`/app/tmp/logs/* tail -n +1 `pwd`/app/tmp/logs/*
tail -n +1 /var/log/apache2/*.log tail -n +1 /var/log/apache2/*.log
- name: Application logs
if: ${{ always() }}
run: |
app/Console/cake Log export /tmp/logs.json.gz --without-changes app/Console/cake Log export /tmp/logs.json.gz --without-changes
zcat /tmp/logs.json.gz zcat /tmp/logs.json.gz