[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible FreeBSD: disable SSL verification on git clone

Mattia Rizzolo mattia at debian.org
Mon Nov 13 15:54:27 UTC 2017


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

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

commit 4d2bce11a38660212d07f53e431ba08aa4502097
Author: Ed Maste <emaste at freebsd.org>
Date:   Mon Nov 13 10:50:39 2017 -0500

    reproducible FreeBSD: disable SSL verification on git clone
    
    We might be running in the future, beyond GitHub's cert expiry.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_freebsd.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 472835e..4f980e3 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -112,7 +112,8 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
 	echo "============================================================================="
 	echo "$(date -u) - Cloning FreeBSD git repository."
 	echo "============================================================================="
-	$RSSH git clone --depth 1 --branch $FREEBSD_TARGET https://github.com/freebsd/freebsd.git $TMPBUILDDIR
+	# Disable SSL verification as we may be in the future, beyond GitHub's cert exipry.
+	$RSSH env GIT_SSL_NO_VERIFY=true git clone --depth 1 --branch $FREEBSD_TARGET https://github.com/freebsd/freebsd.git $TMPBUILDDIR
 	FREEBSD[$FREEBSD_TARGET]=$($RSSH "cd $TMPBUILDDIR ; git log -1")
 	FREEBSD_VERSION[$FREEBSD_TARGET]=$($RSSH "cd $TMPBUILDDIR ; git describe --always")
 	echo "This is FreeBSD branch $FREEBSD_TARGET at ${FREEBSD_VERSION[$FREEBSD_TARGET]}."

-- 
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