From: Tim Rozet Date: Wed, 15 Jul 2015 02:19:38 +0000 (-0400) Subject: Fixes issue where git clone fails X-Git-Tag: arno.2015.2.0~52^2^2~29 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=genesis.git;a=commitdiff_plain;h=1a0c8ab300fdc4865683586ead5d803925d6bf93 Fixes issue where git clone fails Looks like for some reason GIT_SSL_NO_VERIFY=true is required for the git clone to work in LF lab. I guess git cannot recognize the SSL cert. However, this same git clone command works on another non-LF server that is using the same exact git version without the need for this fix. JIRA: BGS-60 Change-Id: I2a71902b3fe01026644ada29bef67c3db3cda711 Signed-off-by: Tim Rozet --- diff --git a/foreman/ci/deploy.sh b/foreman/ci/deploy.sh index 720dc75..a607350 100755 --- a/foreman/ci/deploy.sh +++ b/foreman/ci/deploy.sh @@ -384,7 +384,7 @@ clone_bgs() { rm -rf /tmp/genesis/ ##clone artifacts and move into foreman_vm dir - if ! git clone https://gerrit.opnfv.org/gerrit/genesis.git; then + if ! GIT_SSL_NO_VERIFY=true git clone https://gerrit.opnfv.org/gerrit/genesis.git; then printf '%s\n' 'deploy.sh: Unable to clone genesis repo' >&2 exit 1 fi @@ -850,7 +850,7 @@ start_virtual_nodes() { rm -rf /tmp/genesis/ ##clone genesis and move into node folder - if ! git clone https://gerrit.opnfv.org/gerrit/genesis.git; then + if ! GIT_SSL_NO_VERIFY=true git clone https://gerrit.opnfv.org/gerrit/genesis.git; then printf '%s\n' 'deploy.sh: Unable to clone vagrant repo' >&2 exit 1 fi