Skip to content
Commits on Source (2)
#!/bin/bash
# Copyright 2014-2018 Holger Levsen <holger@layer-acht.org>
# Copyright 2014-2019 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
......@@ -79,7 +79,7 @@ check_whohas() {
send_irc_warning "It seems diffoscope $DIFFOSCOPE_IN_DEBIAN is not available in $DISTRIBUTION, which only has $DIFFOSCOPE_IN_WHOHAS."
exit 0
else
# FIXME: archlinux package version will be greater than Debian: 52-1 vs 52
# TODO: archlinux package version can greater than Debian: 52-1 vs 52
echo "diffoscope in Debian: $DIFFOSCOPE_IN_DEBIAN"
echo "diffoscope in $DISTRIBUTION: $DIFFOSCOPE_IN_WHOHAS"
echo
......@@ -104,10 +104,10 @@ done
case $1 in
PyPI) check_pypi
;;
FreeBSD|NetBSD)
FreeBSD|NetBSD|Arch)
DISTRIBUTION=$1
check_whohas
# missing tests: Arch, Fedora, openSUSE, maybe OpenBSD, Guix…
# missing tests: Fedora, openSUSE, maybe OpenBSD, Guix…
;;
MacPorts)
check_github_macports
......
......@@ -577,6 +577,10 @@
my_description: 'Test whether MacPorts has the latest diffoscope.'
my_timed: '29 23 1 * *'
my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh MacPorts'
- 'diffoscope_archlinux':
my_description: 'Test whether Arch Linux has the latest diffoscope.'
my_timed: '31 23 1 * *'
my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh Arch'
my_shellext: ".sh"
my_shell: '/srv/jenkins/bin/reproducible_{my_task}{my_shellext}'
my_hname: ''
......
......@@ -717,7 +717,7 @@ fi
# Create GPG key for jenkins user if they do not already exist (eg. to sign .buildinfo files)
#
if sudo -H -u jenkins gpg --with-colons --fixed-list-mode --list-secret-keys | cut -d: -f1 | grep -qsFx 'sec' >/dev/null 2>&1 ; then
explain "$(date) - Not generating GPG key as one already exists for jenkins user."
: # not generating GPG key as one already exists for jenkins user
else
explain "$(date) - Generating GPG key for jenkins user."
......