From: Michal Nowak Date: Tue, 5 May 2020 12:51:42 +0000 (+0200) Subject: Collect TXT and HTML reports produced by ABI checker X-Git-Tag: v9.17.2~73^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b5ccf95b0a2f3f0946f0aae8fde1fd4401e4c25e;p=thirdparty%2Fbind9.git 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. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ddb2684000..120c5a91af9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/util/api-checker.sh b/util/api-checker.sh index 070d5370fcb..dee7dd64a38 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')