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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00

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