diff options
Diffstat (limited to 'lorry-controller-minion')
-rwxr-xr-x | lorry-controller-minion | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lorry-controller-minion b/lorry-controller-minion index 0c86a03..c70d493 100755 --- a/lorry-controller-minion +++ b/lorry-controller-minion @@ -145,6 +145,11 @@ class MINION(cliapp.Application): self.temp_lorry_filename, ] + # Turn of git's SSL/TLS certificate checking. FIXME: Remove + # this when we have proper CA root key management in Baserock. + env = dict(os.environ) + env['GIT_SSL_NO_VERIFY'] = 'true' + pipe = os.pipe() self.stdout_fd = pipe[0] self.set_nonblocking(self.stdout_fd) @@ -155,7 +160,8 @@ class MINION(cliapp.Application): argv, stdin=devnull, stdout=pipe[1], - stderr=subprocess.STDOUT) + stderr=subprocess.STDOUT, + env=env) os.close(pipe[1]) devnull.close() |