Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 1 | - job: |
| 2 | concurrent: true |
Gilles Peskine | 7288a75 | 2024-11-18 19:37:51 +0100 | [diff] [blame] | 3 | 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 She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 10 | disabled: false |
| 11 | name: mbedtls-release-ci-testing |
| 12 | parameters: |
| 13 | - string: |
Bence Szépkúti | d923174 | 2024-09-12 14:22:51 +0200 | [diff] [blame] | 14 | default: ssh://git@github.com/Mbed-TLS/mbedtls.git |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 15 | description: Mbed TLS repo/fork |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 16 | name: MBED_TLS_REPO |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 17 | trim: true |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 18 | - string: |
| 19 | default: development |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 20 | description: Branch or commit to test |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 21 | name: MBED_TLS_BRANCH |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 22 | trim: true |
Bence Szépkúti | b9df4e0 | 2024-10-16 07:47:14 +0200 | [diff] [blame] | 23 | - string: |
Bence Szépkúti | 19b1112 | 2024-12-06 00:13:42 +0100 | [diff] [blame] | 24 | default: ssh://git@github.com/Mbed-TLS/mbedtls-framework.git |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 25 | description: Framework repo/fork to override the one specified in the Mbed TLS branch (only used if FRAMEWORK_BRANCH is also set) |
Gilles Peskine | defbb6b | 2024-11-18 18:39:04 +0100 | [diff] [blame] | 26 | name: FRAMEWORK_REPO |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 27 | trim: true |
Bence Szépkúti | b9df4e0 | 2024-10-16 07:47:14 +0200 | [diff] [blame] | 28 | - string: |
| 29 | default: '' |
Gilles Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 30 | description: Framework branch/sha to override the sha specified in the Mbed TLS branch |
Gilles Peskine | defbb6b | 2024-11-18 18:39:04 +0100 | [diff] [blame] | 31 | name: FRAMEWORK_BRANCH |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 32 | trim: true |
Bence Szépkúti | a6eeda5 | 2024-12-05 20:53:50 +0100 | [diff] [blame] | 33 | - string: |
Bence Szépkúti | 19b1112 | 2024-12-06 00:13:42 +0100 | [diff] [blame] | 34 | default: ssh://git@github.com/Mbed-TLS/TF-PSA-Crypto.git |
Bence Szépkúti | a6eeda5 | 2024-12-05 20:53:50 +0100 | [diff] [blame] | 35 | 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 She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 43 | - 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 Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 49 | description: Run all.sh (complete) on Linux |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 50 | 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 Peskine | 80f035d | 2024-11-18 16:51:35 +0100 | [diff] [blame] | 61 | description: Push head to coverity branch, triggering a scan (only done for the development branch) |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 62 | name: PUSH_COVERITY |
Bence Szépkúti | 52b7d45 | 2024-09-12 18:04:12 +0200 | [diff] [blame] | 63 | - string: |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 64 | name: TEST_BRANCH |
| 65 | description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported) |
Bence Szépkúti | 52b7d45 | 2024-09-12 18:04:12 +0200 | [diff] [blame] | 66 | default: main |
Gilles Peskine | be2a48f | 2024-11-18 19:41:24 +0100 | [diff] [blame] | 67 | trim: true |
Bence Szépkúti | 9ccf7f2 | 2024-11-06 21:03:57 +0100 | [diff] [blame] | 68 | - 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 She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 78 | pipeline-scm: |
| 79 | lightweight-checkout: false |
| 80 | scm: |
| 81 | - git: |
| 82 | branches: |
| 83 | - ${TEST_BRANCH} |
Bence Szépkúti | d923174 | 2024-09-12 14:22:51 +0200 | [diff] [blame] | 84 | credentials-id: mbedtls-github-ssh |
| 85 | url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git |
Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 86 | 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 She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 111 | |