2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Collect TXT and HTML reports produced by ABI checker

Although in util/api-checker.sh we create textual reports, we don't
preserve them in job artifacts, but we should.

We don't want to keep all HTML pages present in the project root, but
just those produced by ABI checker.
This commit is contained in:
Michal Nowak 2020-05-05 14:51:42 +02:00
parent 582b931032
commit b5ccf95b0a
No known key found for this signature in database
GPG Key ID: 24A3E8463AEE5E56
2 changed files with 3 additions and 2 deletions

View File

@ -1299,7 +1299,8 @@ abi-check:
- util/api-checker.sh . refbind
artifacts:
paths:
- "*.html"
- "*-lib*.html"
- "*-lib*.txt"
- "abi-*.dump"
expire_in: "1 week"
only:

View File

@ -80,4 +80,4 @@ while read -r HTMLREPORT; do
TXTREPORT="${HTMLREPORT/.html/.txt}"
echo " w3m: ${HTMLREPORT} -> ${TXTREPORT}"
w3m -dump -cols 75 -O ascii -T text/html "${HTMLREPORT}" > "${TXTREPORT}"
done < <(find . -maxdepth 1 -name '*.html')
done < <(find . -maxdepth 1 -name '*-lib*.html')