| #------------------------------------------------------------------------------- |
| # Copyright (c) 2021-2022, Arm Limited. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #------------------------------------------------------------------------------- |
| |
| |
| - job: |
| name: tf-m-extra-build |
| description: 'Staging - Build extra configs without testing.' |
| project-type: pipeline |
| disabled: false |
| sandbox: true |
| concurrent: true |
| properties: |
| - build-discarder: |
| days-to-keep: 5 |
| num-to-keep: 45 |
| - authorization: |
| !include: authorization.yaml.inc |
| - throttle: |
| max-total: 5 |
| option: project |
| parameters: |
| - string: |
| name: 'FILTER_GROUP' |
| default: "an524 an547 an552 corstone310 rss cypress_psoc64 \ |
| corstone1000 stm_stm32l562e_dk \ |
| stm_nucleo_l552ze_q nxp_lpcxpresso55s69 \ |
| example_vad example_dma350_trigger example_dma350_ns \ |
| example_dma350_s" |
| description: | |
| Filter to a group of configurations as recognised by configs.py |
| - string: |
| name: 'CODE_REPO' |
| default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
| - string: |
| name: 'CI_SCRIPTS_REPO' |
| default: 'https://review.trustedfirmware.org/next/ci/tf-m-ci-scripts' |
| - string: |
| name: 'CI_SCRIPTS_BRANCH' |
| default: 'master' |
| - string: |
| name: 'GERRIT_REFSPEC' |
| default: 'refs/heads/main' |
| description: | |
| For use when triggering with unmerged Gerrit changes. |
| - string: |
| name: 'GERRIT_BRANCH' |
| default: 'main' |
| description: | |
| For use when triggering with unmerged Gerrit changes. |
| - string: |
| name: 'GERRIT_HOST' |
| description: | |
| For use when triggering with unmerged Gerrit changes. |
| - string: |
| name: 'GERRIT_CHANGE_NUMBER' |
| description: | |
| For use when triggering with unmerged Gerrit changes. |
| - string: |
| name: 'GERRIT_PATCHSET_REVISION' |
| description: | |
| For use when triggering with unmerged Gerrit changes. |
| - string: |
| name: 'MBEDTLS_VERSION' |
| default: '' |
| - string: |
| name: 'MBEDTLS_URL' |
| default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| - string: |
| name: 'MCUBOOT_URL' |
| default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| - string: |
| name: 'MCUBOOT_REFSPEC' |
| default: '' |
| description: | |
| Specify which MCUboot version to use |
| refs/heads/master : Pick up latest master |
| refs/tags/<TAG_NAME> : Pick up a tagged version |
| - string: |
| name: 'TFM_EXTRAS_URL' |
| default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| - string: |
| name: 'TFM_EXTRAS_REFSPEC' |
| default: '' |
| - string: |
| name: 'TFM_TESTS_URL' |
| default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| - string: |
| name: 'TFM_TESTS_REFSPEC' |
| default: '' |
| - string: |
| name: 'PSA_ARCH_TESTS_URL' |
| default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| - string: |
| name: 'PSA_ARCH_TESTS_VERSION' |
| default: '' |
| - string: |
| name: 'QCBOR_URL' |
| default: 'https://github.com/laurencelundblade/QCBOR.git' |
| - string: |
| name: 'QCBOR_VERSION' |
| default: '' |
| - string: |
| name: 'FREERTOS_KERNEL_URL' |
| default: 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' |
| - string: |
| name: 'FREERTOS_KERNEL_REFSPEC' |
| default: 'refs/heads/main' |
| - string: |
| name: 'LAVA_URL' |
| default: 'https://tf.validation.linaro.org' |
| - string: |
| name: 'CODE_COVERAGE_EN' |
| default: 'FALSE' |
| - string: |
| name: 'LAVA_CREDENTIALS' |
| default: 'LAVA_CREDENTIALS' |
| description: "Name of Jenkins credential for authentication with LAVA." |
| - string: |
| name: SHARE_FOLDER |
| default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}' |
| description: 'Folder containing shared repositories for downstream pipeline jobs' |
| wrappers: |
| - timestamps |
| pipeline-scm: |
| scm: |
| - git: |
| url: '$CI_SCRIPTS_REPO' |
| branches: |
| - '$CI_SCRIPTS_BRANCH' |
| credentials-id: GIT_SSH_KEY |
| wipe-workspace: false |
| script-path: jenkins/ci.jpl |