Arthur She | 3d89a91 | 2023-07-19 14:17:38 -0700 | [diff] [blame] | 1 | - job: |
| 2 | concurrent: true |
| 3 | description: Mbed TLS Release job (new) |
| 4 | disabled: false |
| 5 | name: mbedtls-release-ci-testing |
| 6 | parameters: |
| 7 | - string: |
| 8 | default: https://github.com/Mbed-TLS/mbedtls.git |
| 9 | description: Enter mbed TLS repo/fork |
| 10 | name: MBED_TLS_REPO |
| 11 | trim: 'true' |
| 12 | - string: |
| 13 | default: development |
| 14 | description: Enter branch or commit to test |
| 15 | name: MBED_TLS_BRANCH |
| 16 | trim: 'true' |
| 17 | - bool: |
| 18 | default: false |
| 19 | description: Run basic-build-test.sh (test coverage measurement) |
| 20 | name: RUN_BASIC_BUILD_TEST |
| 21 | - bool: |
| 22 | default: false |
| 23 | description: Run all.sh on Linux |
| 24 | name: RUN_ALL_SH |
| 25 | - bool: |
| 26 | default: false |
| 27 | description: Run a selection of all.sh on FreeBSD |
| 28 | name: RUN_FREEBSD |
| 29 | - bool: |
| 30 | default: false |
| 31 | description: Run Windows tests |
| 32 | name: RUN_WINDOWS_TEST |
| 33 | - bool: |
| 34 | default: false |
| 35 | description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt |
| 36 | example. |
| 37 | name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE |
| 38 | - bool: |
| 39 | default: false |
| 40 | description: Import mbed TLS into mbed-os master and test mbed TLS benchmark |
| 41 | example. |
| 42 | name: TEST_MBED_OS_BENCHMARK_EXAMPLE |
| 43 | - bool: |
| 44 | default: false |
| 45 | description: Import mbed TLS into mbed-os master and test mbed TLS hashing |
| 46 | example. |
| 47 | name: TEST_MBED_OS_HASHING_EXAMPLE |
| 48 | - bool: |
| 49 | default: false |
| 50 | description: Import mbed TLS into mbed-os master and test mbed TLS tls-client |
| 51 | example. |
| 52 | name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE |
| 53 | - string: |
| 54 | default: '' |
| 55 | description: |- |
| 56 | Enter Mbed Crypto repo/fork. Note this *ONLY* influences the Mbed OS tests at this time. |
| 57 | |
| 58 | Optional - if omitted will use what's embedded in the Mbed TLS submodule. |
| 59 | name: MBED_CRYPTO_REPO |
| 60 | trim: 'true' |
| 61 | - string: |
| 62 | default: '' |
| 63 | description: |- |
| 64 | Enter Mbed Crypto branch. Note this *ONLY* influences the Mbed OS tests at this time. |
| 65 | |
| 66 | Optional - if omitted will use what's embedded in the Mbed TLS submodule. |
| 67 | name: MBED_CRYPTO_BRANCH |
| 68 | trim: 'true' |
| 69 | - string: |
| 70 | default: https://github.com/ARMmbed/mbed-os.git |
| 71 | description: Enter the Mbed OS repo or fork |
| 72 | name: MBED_OS_REPO |
| 73 | trim: 'true' |
| 74 | - string: |
| 75 | default: master |
| 76 | description: |- |
| 77 | Enter branch or commit to test. |
| 78 | |
| 79 | By default we test with the HEAD of the master branch, which is NOT a fixed release. |
| 80 | name: MBED_OS_BRANCH |
| 81 | trim: 'true' |
| 82 | - string: |
| 83 | default: https://github.com/ARMmbed/mbed-os-example-tls.git |
| 84 | description: |- |
| 85 | Enter the Mbed OS examples repo or fork. |
| 86 | |
| 87 | This defaults to the main repository the examples are held in. |
| 88 | name: MBED_OS_TLS_EXAMPLES_REPO |
| 89 | trim: 'true' |
| 90 | - string: |
| 91 | default: master |
| 92 | description: |- |
| 93 | Enter branch or commit to test. |
| 94 | |
| 95 | This defaults to the HEAD of the master branch. |
| 96 | name: MBED_OS_TLS_EXAMPLES_BRANCH |
| 97 | trim: 'true' |
| 98 | - choice: |
| 99 | choices: |
| 100 | - Pull Request |
| 101 | - Mbed OS Gold Boards |
| 102 | - Mbed OS Silver Boards |
| 103 | - Mbed OS Gold Boards + Mbed OS Silver Boards |
| 104 | description: |- |
| 105 | Pull Request - Boards tested in the Pull Request job<br> |
| 106 | |
| 107 | For the list of Mbed OS Gold and Silver boards, see <a href="https://confluence.arm.com/display/IoTBU/ISG+Device+SW+SUT+list">here</a> |
| 108 | name: PLATFORMS_TO_TEST |
| 109 | - bool: |
| 110 | default: false |
| 111 | description: Push head to coverity branch, triggering a scan (development only) |
| 112 | name: PUSH_COVERITY |
| 113 | - git-parameter: |
| 114 | name: TEST_BRANCH |
| 115 | description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported) |
| 116 | type: PT_BRANCH_TAG |
| 117 | quickFilterEnabled: True |
| 118 | defaultValue: master |
| 119 | pipeline-scm: |
| 120 | lightweight-checkout: false |
| 121 | scm: |
| 122 | - git: |
| 123 | branches: |
| 124 | - ${TEST_BRANCH} |
| 125 | url: https://github.com/Mbed-TLS/mbedtls-test.git |
| 126 | script-path: vars/mbedtls-release-Jenkinsfile |
| 127 | project-type: pipeline |
| 128 | properties: |
| 129 | - speed-durability: |
| 130 | hint: performance-optimized |
| 131 | - build-blocker: |
| 132 | block-level: GLOBAL |
| 133 | blocking-jobs: [] |
| 134 | queue-scanning: DISABLED |
| 135 | use-build-blocker: false |
| 136 | - build-discarder: |
| 137 | artifact-days-to-keep: -1 |
| 138 | artifact-num-to-keep: -1 |
| 139 | days-to-keep: 60 |
| 140 | num-to-keep: 30 |
| 141 | - github: |
| 142 | url: https://github.com/Mbed-TLS/mbedtls |
| 143 | - inject: |
| 144 | enabled: true |
| 145 | keep-build-variables: true |
| 146 | keep-system-variables: true |
| 147 | load-from-master: false |
| 148 | override-build-parameters: false |
| 149 | properties-content: |- |
| 150 | GIT_CREDENTIALS_ID=mbedtls-github-ssh |
| 151 | TEST_PASS_EMAIL_ADDRESS=arthur.she@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com |
| 152 | TEST_FAIL_EMAIL_ADDRESS=arthur.she@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com |
| 153 | |