Skip to content
Snippets Groups Projects
Commit d616e830 authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Only look for warnings in the logs we actually produce

parent 427b0cbe
No related branches found
No related tags found
No related merge requests found
......@@ -30,12 +30,7 @@ todo:
# Succeed if grep fails (no failing or expected-failure tests),
# fail if grep succeeds
script: |
set -eu
fail=
if grep -B10 '^not ok\b' qa-buster.log; then fail=yes; fi
if grep -B10 '^not ok\b' qa-stretch.log; then fail=yes; fi
if grep -B10 '^not ok\b' qa-brewmaster.log; then fail=yes; fi
if [ -n "$fail" ]; then exit 1; fi
! grep -B10 '^not ok\b' qa-buster.log
# Failure is just a warning
allow_failure: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment