gitlab-ci: append Fossilize stdout/stderr to a file to reduce spam
Fossilize is really verbose and it's easy to reach the buffer limit in GitLab CI. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
This commit is contained in:
parent
b24b415013
commit
4954df417c
|
@ -64,7 +64,12 @@ create_clean_git
|
||||||
for fossil in $(query_fossils_yaml fossils)
|
for fossil in $(query_fossils_yaml fossils)
|
||||||
do
|
do
|
||||||
fetch_fossil "$fossil" || exit $?
|
fetch_fossil "$fossil" || exit $?
|
||||||
fossilize-replay --num-threads 4 $fossil || exit $?
|
fossilize-replay --num-threads 4 $fossil 1>&2 2> fossil_replay.txt
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
echo "Replay of $fossil failed"
|
||||||
|
grep "pipeline crashed or hung" fossil_replay.txt
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
rm $fossil
|
rm $fossil
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue