[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: disable SSL checks for pacman-git as well

Holger Levsen holger at layer-acht.org
Wed Jan 3 17:55:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit fe44d18fb65e15939393bdff2b13ed7714762c40
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed Jan 3 12:50:16 2018 -0500

    reproducible Arch Linux: disable SSL checks for pacman-git as well
    
    When using profitbricks-build4-amd64 with future time, we need to
    disable SSL checks as they don't mean anything anyway. We already do so
    for reproducible_build_archlinux_pkg.sh, but there is one more place
    where we build packages. :)
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_setup_archlinux_schroot.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 7018c8f..8278222 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -156,6 +156,9 @@ $USERCMD bash <<-__END__
 set -e
 tar -xzvf "$PACMAN_GIT_SNAPSHOT" -C /
 cd /pacman-git
+if ! [[ $HOSTNAME = profitbricks-build4-amd64 ]]; then
+    GIT_SSL_NO_VERIFY=1
+fi
 MAKEFLAGS="-j$NUM_CPU" makepkg
 __END__
 $ROOTCMD sh -c 'yes | pacman -U /pacman-git/pacman-*-x86_64.pkg.tar.xz'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list