blob: 515c61c476e4303c307a1eec2da7c5411e1e6861 [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:
24 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
Arthur She3d89a912023-07-19 14:17:38 -070033 - bool:
34 default: false
35 description: Run basic-build-test.sh (test coverage measurement)
36 name: RUN_BASIC_BUILD_TEST
37 - bool:
38 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010039 description: Run all.sh (complete) on Linux
Arthur She3d89a912023-07-19 14:17:38 -070040 name: RUN_ALL_SH
41 - bool:
42 default: false
43 description: Run a selection of all.sh on FreeBSD
44 name: RUN_FREEBSD
45 - bool:
46 default: false
47 description: Run Windows tests
48 name: RUN_WINDOWS_TEST
49 - bool:
50 default: false
Gilles Peskine80f035d2024-11-18 16:51:35 +010051 description: Push head to coverity branch, triggering a scan (only done for the development branch)
Arthur She3d89a912023-07-19 14:17:38 -070052 name: PUSH_COVERITY
Bence Szépkúti52b7d452024-09-12 18:04:12 +020053 - string:
Arthur She3d89a912023-07-19 14:17:38 -070054 name: TEST_BRANCH
55 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 +020056 default: main
Gilles Peskinebe2a48f2024-11-18 19:41:24 +010057 trim: true
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +010058 - string:
59 name: TEST_PASS_EMAIL_ADDRESS
60 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
61 default: ''
62 trim: true
63 - string:
64 name: TEST_FAIL_EMAIL_ADDRESS
65 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
66 default: ''
67 trim: true
Arthur She3d89a912023-07-19 14:17:38 -070068 pipeline-scm:
69 lightweight-checkout: false
70 scm:
71 - git:
72 branches:
73 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +020074 credentials-id: mbedtls-github-ssh
75 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3d89a912023-07-19 14:17:38 -070076 script-path: vars/mbedtls-release-Jenkinsfile
77 project-type: pipeline
78 properties:
79 - speed-durability:
80 hint: performance-optimized
81 - build-blocker:
82 block-level: GLOBAL
83 blocking-jobs: []
84 queue-scanning: DISABLED
85 use-build-blocker: false
86 - build-discarder:
87 artifact-days-to-keep: -1
88 artifact-num-to-keep: -1
89 days-to-keep: 60
90 num-to-keep: 30
91 - github:
92 url: https://github.com/Mbed-TLS/mbedtls
93 - inject:
94 enabled: true
95 keep-build-variables: true
96 keep-system-variables: true
97 load-from-master: false
98 override-build-parameters: false
99 properties-content: |-
100 GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3d89a912023-07-19 14:17:38 -0700101