From b5ccf95b0a2f3f0946f0aae8fde1fd4401e4c25e 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. --- .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 5ddb268400..120c5a91af 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 070d5370fc..dee7dd64a3 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')