Merge pull request 'fix: catch warnings and errors' (#493) from earl-warren/end-to-end:wip-upgrades into main

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/493
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
earl-warren 2025-01-16 20:48:36 +00:00
commit 925c936032

View file

@ -56,7 +56,7 @@ function migration_assert() {
local logfile=$work_path/log/forgejo.log
grep --quiet 'ORM engine initialization successful' $logfile
if grep --fixed-strings 'serveInstalled() [W] Table' $logfile; then
if grep 'serveInstalled() \[[EW]\] Table' $logfile; then
echo "unexpected warnings in database migration"
return 1
fi