Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 1 | - job: |
| 2 | concurrent: true |
Gilles Peskine | 7288a75 | 2024-11-18 19:37:51 +0100 | [diff] [blame] | 3 | description: | |
| 4 | Mbed TLS PR job on a chosen branch of <tt>mbedtls-test</tt>. |
| 5 | <p> |
| 6 | Check at least one of the <tt>RUN_</tt> parameters! |
| 7 | Otherwise not much will happen. |
| 8 | <p> |
| 9 | Choose the branch of <tt>mbedtls-test</tt> under <tt>TEST_BRANCH</tt>. |
Darryl Green | 0dbe661 | 2025-06-20 09:04:53 +0100 | [diff] [blame] | 10 | disabled: false |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 11 | name: mbed-tls-restricted-pr-test-parametrized |
| 12 | parameters: |
| 13 | - string: |
| 14 | default: development |
| 15 | description: Set this to the branch you would be targeting for a PR |
| 16 | name: CHANGE_TARGET |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 17 | trim: true |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 18 | - string: |
| 19 | default: ssh://git@github.com/Mbed-TLS/mbedtls-restricted.git |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 20 | description: Mbed TLS repo/fork |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 21 | name: MBED_TLS_REPO |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 22 | trim: true |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 23 | - string: |
| 24 | default: development-restricted |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 25 | description: Branch or commit to test |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 26 | name: MBED_TLS_BRANCH |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 27 | trim: true |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 28 | - string: |
Bence Szépkúti | 19b1112 | 2024-12-06 00:13:42 +0100 | [diff] [blame] | 29 | default: ssh://git@github.com/Mbed-TLS/mbedtls-framework.git |
Darryl Green | 705bfcc | 2025-06-26 13:31:19 +0100 | [diff] [blame] | 30 | description: Framework repo/fork |
Gilles Peskine | defbb6b | 2024-11-18 18:39:04 +0100 | [diff] [blame] | 31 | name: FRAMEWORK_REPO |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 32 | trim: true |
Bence Szépkúti | b9df4e0 | 2024-10-16 07:47:14 +0200 | [diff] [blame] | 33 | - string: |
| 34 | default: '' |
Darryl Green | 705bfcc | 2025-06-26 13:31:19 +0100 | [diff] [blame] | 35 | description: Enter Framework branch/sha to override the sha specified in the Mbed TLS branch |
Gilles Peskine | defbb6b | 2024-11-18 18:39:04 +0100 | [diff] [blame] | 36 | name: FRAMEWORK_BRANCH |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 37 | trim: true |
Bence Szépkúti | a6eeda5 | 2024-12-05 20:53:50 +0100 | [diff] [blame] | 38 | - string: |
Bence Szépkúti | 19b1112 | 2024-12-06 00:13:42 +0100 | [diff] [blame] | 39 | default: ssh://git@github.com/Mbed-TLS/TF-PSA-Crypto.git |
Darryl Green | 705bfcc | 2025-06-26 13:31:19 +0100 | [diff] [blame] | 40 | description: TF PSA Crypto repo/fork |
Bence Szépkúti | a6eeda5 | 2024-12-05 20:53:50 +0100 | [diff] [blame] | 41 | name: TF_PSA_CRYPTO_REPO |
| 42 | trim: true |
| 43 | - string: |
| 44 | default: '' |
Darryl Green | 705bfcc | 2025-06-26 13:31:19 +0100 | [diff] [blame] | 45 | description: Enter TF PSA Crypto branch/sha to override the sha specified in the Mbed TLS branch. |
Bence Szépkúti | a6eeda5 | 2024-12-05 20:53:50 +0100 | [diff] [blame] | 46 | name: TF_PSA_CRYPTO_BRANCH |
| 47 | trim: true |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 48 | - bool: |
| 49 | default: false |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 50 | description: Run a selection of all.sh on FreeBSD |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 51 | name: RUN_FREEBSD |
| 52 | - bool: |
| 53 | default: false |
| 54 | description: Run Windows tests |
| 55 | name: RUN_WINDOWS_TEST |
| 56 | - bool: |
| 57 | default: false |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 58 | description: Run all.sh (excluding release components) on Linux |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 59 | name: RUN_ALL_SH |
| 60 | - bool: |
| 61 | default: false |
| 62 | description: Run the ABI checking test |
| 63 | name: RUN_ABI_CHECK |
Bence Szépkúti | e858417 | 2025-02-12 06:04:01 +0100 | [diff] [blame] | 64 | - bool: |
| 65 | default: false |
| 66 | description: | |
| 67 | Run TF-PSA-Crypto all.sh tests - Only enable if both TF_PSA_CRYPTO_REPO and TF_PSA_CRYPTO_BRANCH are set! |
| 68 | Otherwise the test run will fail during BranchInfo gathering. |
| 69 | name: RUN_TF_PSA_CRYPTO_ALL_SH |
Bence Szépkúti | 52b7d45 | 2024-09-12 18:04:12 +0200 | [diff] [blame] | 70 | - string: |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 71 | name: TEST_BRANCH |
| 72 | description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported) |
Bence Szépkúti | 52b7d45 | 2024-09-12 18:04:12 +0200 | [diff] [blame] | 73 | default: main |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 74 | trim: true |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 75 | pipeline-scm: |
| 76 | lightweight-checkout: false |
| 77 | scm: |
| 78 | - git: |
| 79 | branches: |
| 80 | - ${TEST_BRANCH} |
Bence Szépkúti | d923174 | 2024-09-12 14:22:51 +0200 | [diff] [blame] | 81 | credentials-id: mbedtls-github-ssh |
| 82 | url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git |
Arthur She | 852542e | 2023-07-19 09:06:51 -0700 | [diff] [blame] | 83 | script-path: vars/mbedtls-pr-test-Jenkinsfile |
| 84 | project-type: pipeline |
| 85 | properties: |
| 86 | - speed-durability: |
| 87 | hint: performance-optimized |
| 88 | - build-blocker: |
| 89 | block-level: GLOBAL |
| 90 | blocking-jobs: [] |
| 91 | queue-scanning: DISABLED |
| 92 | use-build-blocker: false |
| 93 | - build-discarder: |
| 94 | artifact-days-to-keep: -1 |
| 95 | artifact-num-to-keep: -1 |
| 96 | days-to-keep: 60 |
| 97 | num-to-keep: 100 |
| 98 | - github: |
| 99 | url: https://github.com/Mbed-TLS/mbedtls |
| 100 | - inject: |
| 101 | enabled: true |
| 102 | keep-build-variables: true |
| 103 | keep-system-variables: true |
| 104 | load-from-master: false |
| 105 | override-build-parameters: false |
| 106 | properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh |
| 107 | triggers: [] |