summaryrefslogtreecommitdiff
path: root/lorry
diff options
context:
space:
mode:
Diffstat (limited to 'lorry')
-rwxr-xr-xlorry6
1 files changed, 5 insertions, 1 deletions
diff --git a/lorry b/lorry
index 2339c9f..d16abfc 100755
--- a/lorry
+++ b/lorry
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright (C) 2013 Codethink Limited
+# Copyright (C) 2013-2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -299,6 +299,10 @@ class Lorry(cliapp.Application):
return dest
def mirror_git(self, project_name, dirname, gitdir, spec):
+ # Turn off git's SSL/TLS certificate verification, until Baserock
+ # has an CA management infrastructure.
+ os.environ['GIT_SSL_NO_VERIFY'] = 'true'
+
if not os.path.exists(gitdir):
self.progress('.. initialising git dir')
self.run_program(['git', 'init', '--bare', gitdir])