show the full logs in a separate step for forensic analysis
This commit is contained in:
parent
b563e5cd19
commit
81eebc10d8
2 changed files with 13 additions and 0 deletions
|
@ -46,6 +46,9 @@ jobs:
|
|||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- uses: ./.forgejo/prepare-end-to-end
|
||||
- run: su forgejo -c "./end-to-end.sh test_packages"
|
||||
- name: full logs
|
||||
if: always()
|
||||
run: su forgejo -c "./end-to-end.sh show_logs"
|
||||
|
||||
upgrade:
|
||||
name: upgrade and storage
|
||||
|
@ -70,3 +73,6 @@ jobs:
|
|||
- uses: ./.forgejo/prepare-end-to-end
|
||||
- run: su forgejo -c "./end-to-end.sh test_upgrades"
|
||||
- run: su forgejo -c "./end-to-end.sh test_storage"
|
||||
- name: full logs
|
||||
if: always()
|
||||
run: su forgejo -c "./end-to-end.sh show_logs"
|
||||
|
|
|
@ -298,6 +298,13 @@ function stop() {
|
|||
cleanup_logs
|
||||
}
|
||||
|
||||
function show_logs() {
|
||||
(
|
||||
cd $DIR
|
||||
grep '' *.out
|
||||
)
|
||||
}
|
||||
|
||||
function run() {
|
||||
local fun=$1
|
||||
shift
|
||||
|
|
Loading…
Add table
Reference in a new issue