blob: 9a40c7551dd1218ae2ffb28bbd734232385ddd78 [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>.
Darryl Green0dbe6612025-06-20 09:04:53 +010010 disabled: false
Arthur She3d89a912023-07-19 14:17:38 -070011 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
Darryl Green705bfcc2025-06-26 13:31:19 +010025 description: Framework repo/fork
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: ''
Darryl Green705bfcc2025-06-26 13:31:19 +010030 description: Enter 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
Darryl Green705bfcc2025-06-26 13:31:19 +010035 description: TF PSA Crypto repo/fork
Bence Szépkútia6eeda52024-12-05 20:53:50 +010036 name: TF_PSA_CRYPTO_REPO
37 trim: true
38 - string:
39 default: ''
Darryl Green705bfcc2025-06-26 13:31:19 +010040 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 +010041 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úti52b7d452024-09-12 18:04:12 +020069 - string:
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úti52b7d452024-09-12 18:04:12 +020072 default: main
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010073 trim: true
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +010074 - string:
75 name: TEST_PASS_EMAIL_ADDRESS
76 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
77 default: ''
78 trim: true
79 - string:
80 name: TEST_FAIL_EMAIL_ADDRESS
81 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
82 default: ''
83 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070084 pipeline-scm:
85 lightweight-checkout: false
86 scm:
87 - git:
88 branches:
89 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +020090 credentials-id: mbedtls-github-ssh
91 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3d89a912023-07-19 14:17:38 -070092 script-path: vars/mbedtls-release-Jenkinsfile
93 project-type: pipeline
94 properties:
95 - speed-durability:
96 hint: performance-optimized
97 - build-blocker:
98 block-level: GLOBAL
99 blocking-jobs: []
100 queue-scanning: DISABLED
101 use-build-blocker: false
102 - build-discarder:
103 artifact-days-to-keep: -1
104 artifact-num-to-keep: -1
105 days-to-keep: 60
106 num-to-keep: 30
107 - github:
108 url: https://github.com/Mbed-TLS/mbedtls
109 - inject:
110 enabled: true
111 keep-build-variables: true
112 keep-system-variables: true
113 load-from-master: false
114 override-build-parameters: false
115 properties-content: |-
116 GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3d89a912023-07-19 14:17:38 -0700117