diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-12 15:51:56 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-12 15:51:56 +0100 |
commit | 5c4d59eb290df42aa7ee063fa31b83b2ae9ba8b4 (patch) | |
tree | 76bd9fe9bafab67d7d3c9efaad6cb9506bf09451 | |
parent | 6e95c16a566730268fc5402759111094e218eede (diff) | |
download | jenkins.debian.net-5c4d59eb290df42aa7ee063fa31b83b2ae9ba8b4.tar.xz |
reproducible archlinux: detect when sources cannot be verified due to unknown public PGP keys
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 36e02da9..089891e3 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -58,6 +58,14 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do HTML_TARGET=$HTML_404 let NR_404+=1 echo " <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> failed to download source" >> $HTML_BUFFER + elif [ ! -z "$(egrep '==> ERROR: One or more PGP signatures could not be verified' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + HTML_TARGET=$HTML_404 + let NR_404+=1 + EXTRA_REASON="" + if [ ! -z "$(grep 'FAILED (unknown public key' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then + EXTRA_REASON="(unknown public key)" + fi + echo " <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> failed to verify source with PGP signatures $EXTRA_REASON" >> $HTML_BUFFER elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 |