blob: af89e158017d5fcf2cbb9620a92c510dd910ee96 [file] [log] [blame]
Arthur She852542e2023-07-19 09:06:51 -07001- job:
2 concurrent: true
Gilles Peskine7288a752024-11-18 19:37:51 +01003 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 Green0dbe6612025-06-20 09:04:53 +010010 disabled: false
Arthur She852542e2023-07-19 09:06:51 -070011 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 Peskinebe2a48f2024-11-18 19:41:24 +010017 trim: true
Arthur She852542e2023-07-19 09:06:51 -070018 - string:
19 default: ssh://git@github.com/Mbed-TLS/mbedtls-restricted.git
Gilles Peskine80f035d2024-11-18 16:51:35 +010020 description: Mbed TLS repo/fork
Arthur She852542e2023-07-19 09:06:51 -070021 name: MBED_TLS_REPO
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010022 trim: true
Arthur She852542e2023-07-19 09:06:51 -070023 - string:
24 default: development-restricted
Gilles Peskine80f035d2024-11-18 16:51:35 +010025 description: Branch or commit to test
Arthur She852542e2023-07-19 09:06:51 -070026 name: MBED_TLS_BRANCH
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010027 trim: true
Arthur She852542e2023-07-19 09:06:51 -070028 - string:
Bence Szépkúti19b11122024-12-06 00:13:42 +010029 default: ssh://git@github.com/Mbed-TLS/mbedtls-framework.git
Darryl Green705bfcc2025-06-26 13:31:19 +010030 description: Framework repo/fork
Gilles Peskinedefbb6b2024-11-18 18:39:04 +010031 name: FRAMEWORK_REPO
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010032 trim: true
Bence Szépkútib9df4e02024-10-16 07:47:14 +020033 - string:
34 default: ''
Darryl Green705bfcc2025-06-26 13:31:19 +010035 description: Enter Framework branch/sha to override the sha specified in the Mbed TLS branch
Gilles Peskinedefbb6b2024-11-18 18:39:04 +010036 name: FRAMEWORK_BRANCH
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010037 trim: true
Bence Szépkútia6eeda52024-12-05 20:53:50 +010038 - string:
Bence Szépkúti19b11122024-12-06 00:13:42 +010039 default: ssh://git@github.com/Mbed-TLS/TF-PSA-Crypto.git
Darryl Green705bfcc2025-06-26 13:31:19 +010040 description: TF PSA Crypto repo/fork
Bence Szépkútia6eeda52024-12-05 20:53:50 +010041 name: TF_PSA_CRYPTO_REPO
42 trim: true
43 - string:
44 default: ''
Darryl Green705bfcc2025-06-26 13:31:19 +010045 description: Enter TF PSA Crypto branch/sha to override the sha specified in the Mbed TLS branch.
Bence Szépkútia6eeda52024-12-05 20:53:50 +010046 name: TF_PSA_CRYPTO_BRANCH
47 trim: true
Arthur She852542e2023-07-19 09:06:51 -070048 - bool:
49 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010050 description: Run a selection of all.sh on FreeBSD
Arthur She852542e2023-07-19 09:06:51 -070051 name: RUN_FREEBSD
52 - bool:
53 default: false
54 description: Run Windows tests
55 name: RUN_WINDOWS_TEST
56 - bool:
57 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010058 description: Run all.sh (excluding release components) on Linux
Arthur She852542e2023-07-19 09:06:51 -070059 name: RUN_ALL_SH
60 - bool:
61 default: false
62 description: Run the ABI checking test
63 name: RUN_ABI_CHECK
Bence Szépkútie8584172025-02-12 06:04:01 +010064 - 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úti52b7d452024-09-12 18:04:12 +020070 - string:
Arthur She852542e2023-07-19 09:06:51 -070071 name: TEST_BRANCH
72 description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported)
Bence Szépkúti52b7d452024-09-12 18:04:12 +020073 default: main
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010074 trim: true
Arthur She852542e2023-07-19 09:06:51 -070075 pipeline-scm:
76 lightweight-checkout: false
77 scm:
78 - git:
79 branches:
80 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +020081 credentials-id: mbedtls-github-ssh
82 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She852542e2023-07-19 09:06:51 -070083 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: []