blob: 8f1701bf1318522b4f8f5a4356c8115df527a365 [file] [log] [blame]
Arthur She3d89a912023-07-19 14:17:38 -07001- job:
2 concurrent: true
Gilles Peskine7288a752024-11-18 19:37:51 +01003 description: |
4 Mbed TLS release 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 She3d89a912023-07-19 14:17:38 -070010 disabled: false
11 name: mbedtls-release-ci-testing
12 parameters:
13 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +020014 default: ssh://git@github.com/Mbed-TLS/mbedtls.git
Gilles Peskine80f035d2024-11-18 16:51:35 +010015 description: Mbed TLS repo/fork
Arthur She3d89a912023-07-19 14:17:38 -070016 name: MBED_TLS_REPO
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010017 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070018 - string:
19 default: development
Gilles Peskine80f035d2024-11-18 16:51:35 +010020 description: Branch or commit to test
Arthur She3d89a912023-07-19 14:17:38 -070021 name: MBED_TLS_BRANCH
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010022 trim: true
Bence Szépkútib9df4e02024-10-16 07:47:14 +020023 - string:
Bence Szépkúti19b11122024-12-06 00:13:42 +010024 default: ssh://git@github.com/Mbed-TLS/mbedtls-framework.git
Gilles Peskine80f035d2024-11-18 16:51:35 +010025 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 +010026 name: FRAMEWORK_REPO
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010027 trim: true
Bence Szépkútib9df4e02024-10-16 07:47:14 +020028 - string:
29 default: ''
Gilles Peskine80f035d2024-11-18 16:51:35 +010030 description: Framework branch/sha to override the sha specified in the Mbed TLS branch
Gilles Peskinedefbb6b2024-11-18 18:39:04 +010031 name: FRAMEWORK_BRANCH
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010032 trim: true
Bence Szépkútia6eeda52024-12-05 20:53:50 +010033 - string:
Bence Szépkúti19b11122024-12-06 00:13:42 +010034 default: ssh://git@github.com/Mbed-TLS/TF-PSA-Crypto.git
Bence Szépkútia6eeda52024-12-05 20:53:50 +010035 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)
36 name: TF_PSA_CRYPTO_REPO
37 trim: true
38 - string:
39 default: ''
40 description: Enter TF PSA Crypto branch to override the one specififed in the Mbed TLS branch.
41 name: TF_PSA_CRYPTO_BRANCH
42 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070043 - bool:
44 default: false
45 description: Run basic-build-test.sh (test coverage measurement)
46 name: RUN_BASIC_BUILD_TEST
47 - bool:
48 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010049 description: Run all.sh (complete) on Linux
Arthur She3d89a912023-07-19 14:17:38 -070050 name: RUN_ALL_SH
51 - bool:
52 default: false
53 description: Run a selection of all.sh on FreeBSD
54 name: RUN_FREEBSD
55 - bool:
56 default: false
57 description: Run Windows tests
58 name: RUN_WINDOWS_TEST
59 - bool:
60 default: false
Bence Szépkútie8584172025-02-12 06:04:01 +010061 description: |
62 Run TF-PSA-Crypto all.sh tests - Only enable if both TF_PSA_CRYPTO_REPO and TF_PSA_CRYPTO_BRANCH are set!
63 Otherwise the test run will fail during BranchInfo gathering.
64 name: RUN_TF_PSA_CRYPTO_ALL_SH
65 - bool:
66 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010067 description: Push head to coverity branch, triggering a scan (only done for the development branch)
Arthur She3d89a912023-07-19 14:17:38 -070068 name: PUSH_COVERITY
Bence Szépkúti514d5f72025-06-11 15:53:21 +020069 - git-parameter:
Arthur She3d89a912023-07-19 14:17:38 -070070 name: TEST_BRANCH
71 description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported)
Bence Szépkúti514d5f72025-06-11 15:53:21 +020072 type: PT_BRANCH
73 quickFilterEnabled: true
74 defaultValue: main
75 selectedValue: DEFAULT
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +010076 - string:
77 name: TEST_PASS_EMAIL_ADDRESS
78 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
79 default: ''
80 trim: true
81 - string:
82 name: TEST_FAIL_EMAIL_ADDRESS
83 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
84 default: ''
85 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070086 pipeline-scm:
Bence Szépkúti2d5ac742025-06-11 14:53:38 +000087 lightweight-checkout: false
Arthur She3d89a912023-07-19 14:17:38 -070088 scm:
89 - git:
90 branches:
91 - ${TEST_BRANCH}
Bence Szépkúti2d5ac742025-06-11 14:53:38 +000092 credentials-id: mbedtls-github-ssh
93 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3d89a912023-07-19 14:17:38 -070094 script-path: vars/mbedtls-release-Jenkinsfile
95 project-type: pipeline
96 properties:
97 - speed-durability:
98 hint: performance-optimized
99 - build-blocker:
100 block-level: GLOBAL
101 blocking-jobs: []
102 queue-scanning: DISABLED
103 use-build-blocker: false
104 - build-discarder:
105 artifact-days-to-keep: -1
106 artifact-num-to-keep: -1
107 days-to-keep: 60
108 num-to-keep: 30
109 - github:
110 url: https://github.com/Mbed-TLS/mbedtls
111 - inject:
112 enabled: true
113 keep-build-variables: true
114 keep-system-variables: true
115 load-from-master: false
116 override-build-parameters: false
117 properties-content: |-
118 GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3d89a912023-07-19 14:17:38 -0700119