Commit 4b57004d authored by José Henrique's avatar José Henrique
Browse files

Disable host key checking

parent 9b955cb7
......@@ -71,7 +71,15 @@ def decompress_target_files(target_files_path):
def sync_repo(url, path, branch):
print("Syncing repo " + url + " (" + branch + " branch) to path " + path)
git.Repo.clone_from(url, path, branch=branch, multi_options=["--depth=1"])
git.Repo.clone_from(
url,
path,
branch=branch,
multi_options=["--depth=1"],
env={
"GIT_SSH_COMMAND": "ssh -o StrictHostKeyChecking=no"
}
)
def extract_from_target_files(zip_path, file):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment