From b5fdddd593cd2d8836758f74b2e5e64396184cdf Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 5 May 2020 14:51:42 +0200 Subject: [PATCH] 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. (cherry picked from commit b5ccf95b0a2f3f0946f0aae8fde1fd4401e4c25e) --- .gitlab-ci.yml | 3 ++- util/api-checker.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1f8e1b460..09df20fd06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1374,7 +1374,8 @@ abi-check: - util/api-checker.sh . refbind artifacts: paths: - - "*.html" + - "*-lib*.html" + - "*-lib*.txt" - "abi-*.dump" expire_in: "1 week" only: diff --git a/util/api-checker.sh b/util/api-checker.sh index bc0c6cd0b8..beaec3ea80 100755 --- a/util/api-checker.sh +++ b/util/api-checker.sh @@ -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')