]> source.dussan.org Git - nextcloud-server.git/commitdiff
Reduce the output on github CI
authorJoas Schilling <coding@schilljs.com>
Fri, 27 Oct 2023 06:01:34 +0000 (08:01 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 26 Jan 2024 12:53:32 +0000 (13:53 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
.gitignore
build/integration/run.sh

index c2210c1fa06db8619e8be81d62e370dc14f756f2..bbcbddff26a1298557613f7d242fb3a0f5fd6943 100644 (file)
@@ -129,6 +129,8 @@ nbproject
 /build/bin
 /build/lib/
 /build/jsdocs/
+/build/integration/output/
+/build/integration/phpserver.log
 /npm-debug.log
 /PhantomJS_*
 
index 45a0333038ec6be78a14c2269455c15e9aa024c1..09c1d544c6dc5f18abcb04f2dac1d47916b53293 100755 (executable)
@@ -34,10 +34,16 @@ if [ -z "$EXECUTOR_NUMBER" ]; then
 fi
 PORT=$((8080 + $EXECUTOR_NUMBER))
 echo $PORT
-php -S localhost:$PORT -t ../.. &
+
+echo "" > phpserver.log
+
+php -S localhost:$PORT -t ../.. &> phpserver.log &
 PHPPID=$!
 echo $PHPPID
 
+# Output filtered php server logs
+tail -f phpserver.log | grep --line-buffered -v -E ":[0-9]+ Accepted$" | grep --line-buffered -v -E ":[0-9]+ Closing$" &
+
 # The federated server is started and stopped by the tests themselves
 PORT_FED=$((8180 + $EXECUTOR_NUMBER))
 echo $PORT_FED