blob: d696ec8bbb94c0eba11b28100084a8f7faa07191 [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>.
Arthur She852542e2023-07-19 09:06:51 -070010 disabled: false
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 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útib9df4e02024-10-16 07:47:14 +020029 default: ssh://git@github.com:Mbed-TLS/mbedtls-framework.git
Gilles Peskine80f035d2024-11-18 16:51:35 +010030 description: Framework repo/fork to override the one specified in the Mbed TLS branch (only used if FRAMEWORK_BRANCH is also set)
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: ''
Gilles Peskine80f035d2024-11-18 16:51:35 +010035 description: 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:
39 default: ssh://git@github.com:Mbed-TLS/TF-PSA-Crypto.git
40 description: Enter TF PSA Crypto repo/fork to override the one specififed in the Mbed TLS branch. (used if TF_PSA_CRYPTO_BRANCH is also set)
41 name: TF_PSA_CRYPTO_REPO
42 trim: true
43 - string:
44 default: ''
45 description: Enter TF PSA Crypto branch to override the one specififed in the Mbed TLS branch.
46 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úti52b7d452024-09-12 18:04:12 +020064 - string:
Arthur She852542e2023-07-19 09:06:51 -070065 name: TEST_BRANCH
66 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 +020067 default: main
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010068 trim: true
Arthur She852542e2023-07-19 09:06:51 -070069 pipeline-scm:
70 lightweight-checkout: false
71 scm:
72 - git:
73 branches:
74 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +020075 credentials-id: mbedtls-github-ssh
76 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She852542e2023-07-19 09:06:51 -070077 script-path: vars/mbedtls-pr-test-Jenkinsfile
78 project-type: pipeline
79 properties:
80 - speed-durability:
81 hint: performance-optimized
82 - build-blocker:
83 block-level: GLOBAL
84 blocking-jobs: []
85 queue-scanning: DISABLED
86 use-build-blocker: false
87 - build-discarder:
88 artifact-days-to-keep: -1
89 artifact-num-to-keep: -1
90 days-to-keep: 60
91 num-to-keep: 100
92 - github:
93 url: https://github.com/Mbed-TLS/mbedtls
94 - inject:
95 enabled: true
96 keep-build-variables: true
97 keep-system-variables: true
98 load-from-master: false
99 override-build-parameters: false
100 properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
101 triggers: []