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 <trozet@redhat.com>
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
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