blob: 66eae59630b83deb188dab9f7a1c288d2f08f894 [file] [log] [blame]
Arthur She852542e2023-07-19 09:06:51 -07001- job:
2 concurrent: true
3 description: Mbed TLS parametrized test PR job
4 disabled: false
5 name: mbed-tls-restricted-pr-test-parametrized
6 parameters:
7 - string:
8 default: development
9 description: Set this to the branch you would be targeting for a PR
10 name: CHANGE_TARGET
11 trim: 'false'
12 - string:
13 default: ssh://git@github.com/Mbed-TLS/mbedtls-restricted.git
14 description: Enter mbed TLS repo/fork
15 name: MBED_TLS_REPO
16 trim: 'true'
17 - string:
18 default: development-restricted
19 description: Enter branch or commit to test
20 name: MBED_TLS_BRANCH
21 trim: 'false'
22 - string:
Bence Szépkútib9df4e02024-10-16 07:47:14 +020023 default: ssh://git@github.com:Mbed-TLS/mbedtls-framework.git
24 description: Enter Framework repo/fork to override the one specififed in the Mbed TLS branch (only used if FRAMEWORK_BRANCH is also set)
25 name: FRAMEWORK_TLS_REPO
26 trim: 'true'
27 - string:
28 default: ''
29 description: Enter Framework branch to override the one specififed in the Mbed TLS branch.
30 name: FRAMEWORK_TLS_BRANCH
31 trim: 'false'
32 - string:
Arthur She852542e2023-07-19 09:06:51 -070033 default: ''
34 description: |-
35 Enter Mbed Crypto repo/fork. Note this *ONLY* influences the Mbed OS tests at this time.
36
37 Optional - if omitted will use what's embedded in the Mbed TLS submodule.
38 name: MBED_CRYPTO_REPO
39 trim: 'false'
40 - string:
41 default: ''
42 description: |-
43 Enter Mbed Crypto branch. Note this *ONLY* influences the Mbed OS tests at this time.
44
45 Optional - if omitted will use what's embedded in the Mbed TLS submodule.
46 name: MBED_CRYPTO_BRANCH
47 trim: 'false'
48 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +020049 default: ssh://git@github.com/ARMmbed/mbed-os.git
Arthur She852542e2023-07-19 09:06:51 -070050 description: Enter the Mbed OS repo or fork
51 name: MBED_OS_REPO
52 trim: 'false'
53 - string:
54 default: master
55 description: |-
56 Enter branch or commit to test.
57
58 By default we test with the HEAD of the master branch, which is NOT a fixed release.
59 name: MBED_OS_BRANCH
60 trim: 'false'
61 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +020062 default: ssh://git@github.com/ARMmbed/mbed-os-example-tls.git
Arthur She852542e2023-07-19 09:06:51 -070063 description: |-
64 Enter the Mbed OS examples repo or fork.
65
66 This defaults to the main repository the examples are held in.
67 name: MBED_OS_TLS_EXAMPLES_REPO
68 trim: 'false'
69 - string:
70 default: master
71 description: |-
72 Enter branch or commit to test.
73
74 This defaults to the HEAD of the master branch.
75 name: MBED_OS_TLS_EXAMPLES_BRANCH
76 trim: 'false'
77 - bool:
78 default: false
79 description: Run the basic linux PR job scripts.
80 name: RUN_LINUX_SCRIPTS
81 - bool:
82 default: false
83 description: Run the basic FreeBSD PR job scripts
84 name: RUN_FREEBSD
85 - bool:
86 default: false
87 description: Run Windows tests
88 name: RUN_WINDOWS_TEST
89 - bool:
90 default: false
91 description: Run all.sh tests
92 name: RUN_ALL_SH
93 - bool:
94 default: false
95 description: Run the ABI checking test
96 name: RUN_ABI_CHECK
97 - bool:
98 default: false
99 description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt
100 example.
101 name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE
102 - bool:
103 default: false
104 description: Import mbed TLS into mbed-os master and test mbed TLS benchmark
105 example.
106 name: TEST_MBED_OS_BENCHMARK_EXAMPLE
107 - bool:
108 default: false
109 description: Import mbed TLS into mbed-os master and test mbed TLS hashing
110 example.
111 name: TEST_MBED_OS_HASHING_EXAMPLE
112 - bool:
113 default: false
114 description: Import mbed TLS into mbed-os master and test mbed TLS tls-client
115 example.
116 name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE
Bence Szépkúti52b7d452024-09-12 18:04:12 +0200117 - string:
Arthur She852542e2023-07-19 09:06:51 -0700118 name: TEST_BRANCH
119 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 +0200120 default: main
121 trim: 'false'
Arthur She852542e2023-07-19 09:06:51 -0700122 pipeline-scm:
123 lightweight-checkout: false
124 scm:
125 - git:
126 branches:
127 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +0200128 credentials-id: mbedtls-github-ssh
129 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She852542e2023-07-19 09:06:51 -0700130 script-path: vars/mbedtls-pr-test-Jenkinsfile
131 project-type: pipeline
132 properties:
133 - speed-durability:
134 hint: performance-optimized
135 - build-blocker:
136 block-level: GLOBAL
137 blocking-jobs: []
138 queue-scanning: DISABLED
139 use-build-blocker: false
140 - build-discarder:
141 artifact-days-to-keep: -1
142 artifact-num-to-keep: -1
143 days-to-keep: 60
144 num-to-keep: 100
145 - github:
146 url: https://github.com/Mbed-TLS/mbedtls
147 - inject:
148 enabled: true
149 keep-build-variables: true
150 keep-system-variables: true
151 load-from-master: false
152 override-build-parameters: false
153 properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
154 triggers: []