mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-07 03:04:27 +00:00
ci/check-warnings: ignore warnings that we're using the mirror
SourceForge in particular doesn't like multiple connections from the same IP, but when a source mirror is being populated for the first time this will happen. Our fetch falls back to the Yocto mirror so it doesn't cause a failure, but there is a warning logged which our CI then fails because of. As we don't care about these warnings, filter them out of the log before checking if there were any errors. Change-Id: I36c97c5d9923f1c4d14c4588f3780211cccb57b2 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ set -e -u
|
||||
|
||||
LOGFILE=$1
|
||||
|
||||
if test -s $LOGFILE; then
|
||||
LINES=$(grep --invert-match "attempting MIRRORS if available" $LOGFILE | wc -l)
|
||||
if test "$LINES" -ne 0; then
|
||||
echo ==============================
|
||||
echo The build had warnings/errors:
|
||||
echo ==============================
|
||||
|
||||
Reference in New Issue
Block a user