display the runner logs as they go for debugging

This commit is contained in:
Earl Warren 2023-03-27 19:11:49 +02:00
parent c16405df52
commit 89b6ae4da6
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 2 additions and 1 deletions

3
testdata/run.sh vendored
View File

@ -30,7 +30,8 @@ function wait_success() {
if check_status "$forgejo" "$repo" "$sha"; then
break
fi
sleep 5
tail $FORGEJO_RUNNER_LOGS
sleep 10
done
if ! test "$(check_status "$forgejo" "$repo" "$sha")" = "success" ; then
cat $FORGEJO_RUNNER_LOGS