Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Minos Galanakis | 9a8076a | 2020-02-21 14:00:46 +0000 | [diff] [blame] | 2 | # Copyright (c) 2018-2020, Arm Limited. All rights reserved. |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-dependencies-checkout |
| 10 | description: > |
| 11 | This job is manually triggered and collects external code/artifacts |
| 12 | project-type: pipeline |
| 13 | disabled: false |
| 14 | sandbox: true |
| 15 | concurrent: false |
| 16 | triggers: |
| 17 | properties: |
| 18 | - build-discarder: |
| 19 | days-to-keep: 30 |
| 20 | num-to-keep: 5 |
Riku Voipio | e2beb0d | 2019-10-03 16:13:13 +0300 | [diff] [blame] | 21 | - authorization: |
| 22 | suihkulokki: |
| 23 | - job-read |
| 24 | - job-extended-read |
| 25 | - job-build |
| 26 | - job-cancel |
Galanakis, Minos | ebf502a | 2019-10-07 10:42:10 +0100 | [diff] [blame] | 27 | minosgalanakis: |
Riku Voipio | e2beb0d | 2019-10-03 16:13:13 +0300 | [diff] [blame] | 28 | - job-read |
| 29 | - job-extended-read |
| 30 | - job-build |
| 31 | - job-cancel |
| 32 | bhcopeland: |
| 33 | - job-read |
| 34 | - job-extended-read |
| 35 | - job-build |
| 36 | - job-cancel |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 37 | parameters: |
| 38 | - string: |
| 39 | name: 'GERRIT_URL' |
| 40 | description: 'Base address of gerrit host' |
| 41 | default: 'https://review.trustedfirmware.org' |
| 42 | - string: |
| 43 | name: 'GERRIT_SCRIPTS' |
| 44 | description: 'Helper scripts used in conjuction with Jenkins' |
| 45 | default: 'ci/tf-m-ci-scripts' |
| 46 | - string: |
| 47 | name: 'GERRIT_SCRIPTS_REFSP' |
| 48 | description: 'Branch or refspec to checkout' |
| 49 | default: 'master' |
| 50 | - string: |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 51 | name: 'MBED_CRYPTO_URL' |
| 52 | description: 'Mbedtls repository url' |
| 53 | default: 'https://github.com/ARMmbed/mbed-crypto.git' |
| 54 | - string: |
| 55 | name: 'CHECKPATCH_URL' |
| 56 | description: 'Linux kernel repository and path for checkpatch' |
| 57 | default: "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/\ |
| 58 | linux.git/plain/scripts" |
| 59 | - string: |
| 60 | name: 'CMSIS_5_URL' |
| 61 | description: 'CMSIS5 Repository url' |
| 62 | default: 'https://github.com/ARM-software/CMSIS_5.git' |
| 63 | - string: |
| 64 | name: 'HTTP_IMAGE_STORE' |
| 65 | description: > |
| 66 | Server address and port of server hosting the fpga images |
| 67 | default: 'http://127.0.0.1:8831' |
| 68 | - string: |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 69 | name: 'MBED_CRYPTO_TAG_LIST' |
| 70 | description: > |
| 71 | Mbedtls tags/branches to checkout (comma separated list) |
Minos Galanakis | 9a8076a | 2020-02-21 14:00:46 +0000 | [diff] [blame] | 72 | default: 'mbedcrypto-1.1.0,mbedcrypto-3.0.1' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 73 | - string: |
| 74 | name: 'CMSIS_5_TAG_LIST' |
| 75 | description: 'CMSIS5 tag/branch to checkout (comma separated list)' |
| 76 | default: '5.2.0, 5.5.0' |
| 77 | - string: |
| 78 | name: 'FPGA_IMAGES_TAG_LIST' |
| 79 | description: > |
| 80 | FPGA image names (comma separated list). Clearing this field |
| 81 | disables fpga checkout stage. |
| 82 | default: 'mps2_an521_v3.0.tar.gz, mps2_an519_v3.0.tar.gz' |
| 83 | - string: |
| 84 | name: 'FASTMODEL_STORE_URL' |
| 85 | description: > |
| 86 | Server address and port of server offering the fastmodels. |
| 87 | They should be served under a FASTMODEL_ROOT_DIR/FASTMODE_VER |
| 88 | directory format |
| 89 | default: "http://127.0.0.1:8831/" |
| 90 | - string: |
| 91 | name: 'FASTMODEL_VERSIONS' |
| 92 | default: '' |
| 93 | description: > |
| 94 | Fastmodel versions (comma separated list).Clearing this field |
| 95 | disables fastmodel checkout stage |
| 96 | - string: |
| 97 | name: 'FASTMODEL_FILES' |
| 98 | default: > |
| 99 | FVP_MPS2_AEMv8M,libarmctmodel.so, libIrisCore.so, |
| 100 | libMAXCOREInitSimulationEngine.3.so, version.info |
| 101 | description: 'List of files to download for each model version' |
| 102 | - string: |
| 103 | name: 'FASTMODEL_EXEC_FILES' |
| 104 | default: > |
| 105 | FVP_MPS2_AEMv8M |
| 106 | description: > |
| 107 | List of files will to be set as executables (comma separated list) |
| 108 | - string: |
| 109 | name: 'CHECKPATCH_COMMITS' |
| 110 | description: 'Comma separated list of commits to check out' |
| 111 | default: "852d095" |
| 112 | - string: |
| 113 | name: 'CMSIS_5_SPARSE_DIR' |
| 114 | description: > |
| 115 | CMSIS: Only checkout this directory (reducing codespace) |
| 116 | default: 'CMSIS/RTOS2' |
| 117 | - string: |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 118 | name: 'MBED_CRYPTO_ROOT_DIR' |
Raef Coles | d025846 | 2019-12-02 16:56:47 +0100 | [diff] [blame] | 119 | description: 'Directory in archive with all mbed-crypto variants' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 120 | default: 'mbed-crypto' |
| 121 | - string: |
| 122 | name: 'CMSIS_ROOT_DIR' |
Raef Coles | d025846 | 2019-12-02 16:56:47 +0100 | [diff] [blame] | 123 | description: 'Directory in archive with all cmsis variants' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 124 | default: 'cmsis' |
| 125 | - string: |
| 126 | name: 'CHECKPATCH_ROOT_DIR' |
Raef Coles | d025846 | 2019-12-02 16:56:47 +0100 | [diff] [blame] | 127 | description: 'Directory in archive with all checkpatch variants' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 128 | default: 'checkpatch' |
| 129 | - string: |
| 130 | name: 'FPGA_ROOT_DIR' |
Raef Coles | d025846 | 2019-12-02 16:56:47 +0100 | [diff] [blame] | 131 | description: 'Directory in archive with all fpga images' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 132 | default: 'fpga' |
| 133 | - string: |
| 134 | name: 'FASTMODEL_ROOT_DIR' |
Raef Coles | d025846 | 2019-12-02 16:56:47 +0100 | [diff] [blame] | 135 | description: 'Directory in archive with all fastmodel variants' |
Galanakis, Minos | b96c6d4 | 2019-06-20 10:41:28 +0100 | [diff] [blame] | 136 | default: 'fastmodel' |
| 137 | - string: |
| 138 | name: 'DEPENDENCIES_ARCHIVE_NAME_ZIP' |
| 139 | description: 'Archive name of dependencies artifacts' |
| 140 | default: 'tfm_dependencies.zip' |
| 141 | - string: |
| 142 | name: 'DEPENDENCIES_CONTENTS_FILE' |
| 143 | description: 'Artifact name for contents of archive' |
| 144 | default: 'dependencies_checkout_contents.json' |
| 145 | - string: |
| 146 | name: 'MAINTAINER_EMAIL' |
| 147 | description: 'Person to be notified of failure ( empty = disable )' |
| 148 | default: '' |
| 149 | dsl: |
| 150 | !include-raw: |
| 151 | - ./pipelines/tf-m-dependencies-checkout |