Always use SSH checkouts in test jobs
This allows us to bypass Github rate-limits on anonymous checkouts.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
Change-Id: I353ef36a955e29b9d7c06cad1e77755f8ddceed0
diff --git a/mbed-tls-restricted-pr-test-parametrized.yaml b/mbed-tls-restricted-pr-test-parametrized.yaml
index 6c8ddfb..b3cee7e 100644
--- a/mbed-tls-restricted-pr-test-parametrized.yaml
+++ b/mbed-tls-restricted-pr-test-parametrized.yaml
@@ -36,7 +36,7 @@
name: MBED_CRYPTO_BRANCH
trim: 'false'
- string:
- default: https://github.com/ARMmbed/mbed-os.git
+ default: ssh://git@github.com/ARMmbed/mbed-os.git
description: Enter the Mbed OS repo or fork
name: MBED_OS_REPO
trim: 'false'
@@ -49,7 +49,7 @@
name: MBED_OS_BRANCH
trim: 'false'
- string:
- default: https://github.com/ARMmbed/mbed-os-example-tls.git
+ default: ssh://git@github.com/ARMmbed/mbed-os-example-tls.git
description: |-
Enter the Mbed OS examples repo or fork.
@@ -116,7 +116,8 @@
- git:
branches:
- ${TEST_BRANCH}
- url: https://github.com/Mbed-TLS/mbedtls-test.git
+ credentials-id: mbedtls-github-ssh
+ url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
script-path: vars/mbedtls-pr-test-Jenkinsfile
project-type: pipeline
properties: