Always use SSH checkouts in production 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: Ib9622c68fe78e37429be8dc08a6c4dd7dfbf2e3f
diff --git a/mbed-tls-nightly-tests.yaml b/mbed-tls-nightly-tests.yaml
index 28c2f77..5c4bc39 100644
--- a/mbed-tls-nightly-tests.yaml
+++ b/mbed-tls-nightly-tests.yaml
@@ -5,7 +5,7 @@
name: mbed-tls-nightly-tests
parameters:
- string:
- default: https://github.com/Mbed-TLS/mbedtls.git
+ default: ssh://git@github.com/Mbed-TLS/mbedtls.git
description: Enter mbed TLS repo/fork
name: MBED_TLS_REPO
trim: 'false'
@@ -54,7 +54,7 @@
example.
name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE
- 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'
@@ -67,7 +67,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.
@@ -113,7 +113,8 @@
- git:
branches:
- main
- 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-release-Jenkinsfile
project-type: pipeline
properties:
@@ -135,7 +136,7 @@
keep-system-variables: true
load-from-master: false
override-build-parameters: false
- properties-content: GIT_CREDENTIALS_ID=mbedtls-github-token
+ properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
triggers:
- parameterized-timer:
cron: |