aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux-automerge
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2018-04-20 13:13:18 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2018-04-20 10:42:19 +0000
commitd44f2bc6d3ea43ccb9c5c24c233e3e2a3651325d (patch)
tree5e08b84b31388069b461c623d2decfaf65dfb877 /lt-qcom-linux-automerge
parentb1fa202c170910b1add0f9ad40a35485f9b37f9e (diff)
lt-qcom-linux-automerge: set git core.sshCommand to use a custom SSH config
To avoid any conflicts with SSH config files mounted in the docker instances, use a custom SSH config (local to the running instance): * don't use a known hosts file * disable the strict hosts checking to avoid SSHFP related errors. Change-Id: I1c6d80402bdc649ce998082fab5684fde6909a7f Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'lt-qcom-linux-automerge')
-rwxr-xr-xlt-qcom-linux-automerge/builders.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lt-qcom-linux-automerge/builders.sh b/lt-qcom-linux-automerge/builders.sh
index f254d98997..f3c3ccf36c 100755
--- a/lt-qcom-linux-automerge/builders.sh
+++ b/lt-qcom-linux-automerge/builders.sh
@@ -39,6 +39,15 @@ function build_integration_kernel()
git config --global user.name "Linaro CI"
git config --global user.email "ci_notify@linaro.org"
+git config --global core.sshCommand "ssh -F ${HOME}/qcom.sshconfig"
+
+cat << EOF > ${HOME}/qcom.sshconfig
+Host git.linaro.org
+ User git
+ UserKnownHostsFile /dev/null
+ StrictHostKeyChecking no
+EOF
+chmod 0600 ${HOME}/qcom.sshconfig
# Use a persistent storage to avoid clone every time the integration repository
PERSISTENT_PATH=${HOME}/srv/qcomlt/linux_automerge