]> 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:32:57 +0000 (11:32 +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.

(cherry picked from commit b5ccf95b0a2f3f0946f0aae8fde1fd4401e4c25e)

.gitlab-ci.yml
util/api-checker.sh

index 5eeaea12af8eeba63d5e9f67764ed2729adf536e..07ec3071f51a0214337986e5586edbf00842a7a3 100644 (file)
@@ -1372,7 +1372,8 @@ abi-check:
     - util/api-checker.sh . refbind
   artifacts:
     paths:
-      - "*.html"
+      - "*-lib*.html"
+      - "*-lib*.txt"
       - "abi-*.dump"
     expire_in: "1 week"
   only:
index bc0c6cd0b84387119a5cc179d26ad94755eb8691..beaec3ea80160cb3cf7004c976fbaeb79608f261 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')