blob: cc80437ad1bdc657f6b8c1afb7c94dd994f1113e [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
Gilles Peskine80f035d2024-11-18 16:51:35 +010061 description: Push head to coverity branch, triggering a scan (only done for the development branch)
Arthur She3d89a912023-07-19 14:17:38 -070062 name: PUSH_COVERITY
Bence Szépkúti52b7d452024-09-12 18:04:12 +020063 - string:
Arthur She3d89a912023-07-19 14:17:38 -070064 name: TEST_BRANCH
65 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 +020066 default: main
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010067 trim: true
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +010068 - string:
69 name: TEST_PASS_EMAIL_ADDRESS
70 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
71 default: ''
72 trim: true
73 - string:
74 name: TEST_FAIL_EMAIL_ADDRESS
75 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
76 default: ''
77 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070078 pipeline-scm:
79 lightweight-checkout: false
80 scm:
81 - git:
82 branches:
83 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +020084 credentials-id: mbedtls-github-ssh
85 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3d89a912023-07-19 14:17:38 -070086 script-path: vars/mbedtls-release-Jenkinsfile
87 project-type: pipeline
88 properties:
89 - speed-durability:
90 hint: performance-optimized
91 - build-blocker:
92 block-level: GLOBAL
93 blocking-jobs: []
94 queue-scanning: DISABLED
95 use-build-blocker: false
96 - build-discarder:
97 artifact-days-to-keep: -1
98 artifact-num-to-keep: -1
99 days-to-keep: 60
100 num-to-keep: 30
101 - github:
102 url: https://github.com/Mbed-TLS/mbedtls
103 - inject:
104 enabled: true
105 keep-build-variables: true
106 keep-system-variables: true
107 load-from-master: false
108 override-build-parameters: false
109 properties-content: |-
110 GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3d89a912023-07-19 14:17:38 -0700111