aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@linaro.org>2022-01-26 14:40:19 -0600
committerLeonardo Sandoval <leonardo.sandoval@linaro.org>2022-01-26 14:40:19 -0600
commit2346af6dba104e3896735b132013adc1c32531d6 (patch)
tree4d1d17818a1ad2fe78e6b6d7f6fd879174c570d4
parenta0538623278e8c9d3c06ae02dd28aab3a57b35c4 (diff)
downloadconfigs-master.tar.gz
lt-qcom-clo: add ssh configuration for CLOHEADmaster
This configuration is required to clone the sectools repository Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Ie16c62d490345863a5ae8f845554f2eb3fccd8be
-rw-r--r--lt-qcom-bootloader/dragonboard845c/builders.sh16
-rw-r--r--lt-qcom-bootloader/rb5/builders.sh16
2 files changed, 32 insertions, 0 deletions
diff --git a/lt-qcom-bootloader/dragonboard845c/builders.sh b/lt-qcom-bootloader/dragonboard845c/builders.sh
index 867faa994..33faee60b 100644
--- a/lt-qcom-bootloader/dragonboard845c/builders.sh
+++ b/lt-qcom-bootloader/dragonboard845c/builders.sh
@@ -5,6 +5,22 @@ sudo apt-get install -y zip gdisk libncurses5
set -ex
+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 staging-git.codelinaro.org
+ User qclt-bot
+ UserKnownHostsFile /dev/null
+ StrictHostKeyChecking no
+ ServerAliveInterval 60
+ ServerAliveCountMax 5
+ TCPKeepAlive yes
+ IPQoS=throughput
+EOF
+chmod 0600 ${HOME}/qcom.sshconfig
+
if [ -z "${WORKSPACE}" ]; then
WORKSPACE="$(pwd)"
DB_BOOT_TOOLS_DIR="db-boot-tools"
diff --git a/lt-qcom-bootloader/rb5/builders.sh b/lt-qcom-bootloader/rb5/builders.sh
index b252baa0e..eeb83ca20 100644
--- a/lt-qcom-bootloader/rb5/builders.sh
+++ b/lt-qcom-bootloader/rb5/builders.sh
@@ -5,6 +5,22 @@ sudo apt-get install -y zip gdisk libncurses5
set -ex
+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 staging-git.codelinaro.org
+ User qclt-bot
+ UserKnownHostsFile /dev/null
+ StrictHostKeyChecking no
+ ServerAliveInterval 60
+ ServerAliveCountMax 5
+ TCPKeepAlive yes
+ IPQoS=throughput
+EOF
+chmod 0600 ${HOME}/qcom.sshconfig
+
if [ -z "${WORKSPACE}" ]; then
WORKSPACE="$(pwd)"
DB_BOOT_TOOLS_DIR="db-boot-tools"