]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Collect TXT and HTML reports produced by ABI checker
authorMichal Nowak <mnowak@isc.org>
Tue, 5 May 2020 12:51:42 +0000 (14:51 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 15 May 2020 09:26:27 +0000 (11:26 +0200)
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
util/api-checker.sh

index 5ddb268400045b459653d7d4eafa177ed8266bb6..120c5a91af964d9db80132252081df4710b05dc3 100644 (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:
index 070d5370fcb816bfc847d7902c53b91297c1953b..dee7dd64a38e1131e17513b9ec5c757941dc23b2 100755 (executable)
@@ -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')