diff options
author | Ed Maste <emaste@freebsd.org> | 2017-11-13 10:50:39 -0500 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-11-13 16:54:10 +0100 |
commit | 4d2bce11a38660212d07f53e431ba08aa4502097 (patch) | |
tree | d2d2c32fa279bd7cfc29e2320da8ff856465c8f5 | |
parent | 79437c7b24b3bda60ae229829ededcb0eac262a8 (diff) | |
download | jenkins.debian.net-4d2bce11a38660212d07f53e431ba08aa4502097.tar.xz |
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@debian.org>
-rwxr-xr-x | bin/reproducible_freebsd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index 472835e9..4f980e31 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]}." |