| #------------------------------------------------------------------------------- |
| # Copyright (c) 2020-2023, Arm Limited. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #------------------------------------------------------------------------------- |
| |
| - job: |
| name: tf-m-release |
| description: 'Build that triggers manually to build many configurations for release.' |
| project-type: pipeline |
| disabled: false |
| sandbox: true |
| concurrent: true |
| triggers: |
| - timed: 'H 0 8-14,22-28 * 0' |
| properties: |
| - build-discarder: |
| days-to-keep: 30 |
| num-to-keep: 3 |
| parameters: |
| - string: |
| name: 'FILTER_GROUP' |
| default: "release_test release_profile_s release_profile_m release_profile_m_arotless \ |
| release_profile_l release_cc_driver_psa release_fp release_psa_api \ |
| release_ipc_backend release_nsce release_mmio release_an547 release_an552 \ |
| release_corstone310 release_rss release_psoc64 \ |
| release_stm32l562e_dk release_lpcxpresso55s69" |
| description: | |
| Filter to a group of configurations as recognised by configs.py |
| - string: |
| name: 'CODE_REPO' |
| default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
| - string: |
| name: 'CI_SCRIPTS_REPO' |
| default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| - string: |
| name: 'CI_SCRIPTS_BRANCH' |
| default: 'master' |
| - string: |
| name: 'GERRIT_REFSPEC' |
| default: 'refs/heads/master' |
| description: | |
| For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'. |
| - string: |
| name: 'GERRIT_BRANCH' |
| default: 'master' |
| description: | |
| TF-M branch. |
| - string: |
| name: 'GERRIT_HOST' |
| description: | |
| No need to change. |
| - string: |
| name: 'GERRIT_CHANGE_NUMBER' |
| description: | |
| No need to change. |
| - string: |
| name: 'GERRIT_PATCHSET_REVISION' |
| description: | |
| No need to change. |
| - string: |
| name: 'MBEDTLS_VERSION' |
| default: 'mbedtls-3.4.0' |
| description: | |
| Specify which MBEDTLS version to use |
| refs/heads/<branch_name> : Pick up latest HEAD on branch |
| TAG_NAME : Pick up a tagged version |
| full commit hash : Pick up a specific commit |
| - string: |
| name: 'MBEDTLS_URL' |
| default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| - string: |
| name: 'LAVA_URL' |
| default: 'https://tf.validation.linaro.org' |
| - string: |
| name: 'CODE_COVERAGE_EN' |
| default: 'FALSE' |
| - string: |
| name: 'SQUAD_CONFIGURATIONS' |
| default: 'disabled' |
| description: 'Send metrics of reference configurations to a SQUAD Dashboard' |
| - string: |
| name: 'LAVA_CREDENTIALS' |
| default: 'LAVA_CREDENTIALS' |
| description: "Name of Jenkins credential for authentication with LAVA." |
| - string: |
| name: 'MCUBOOT_REFSPEC' |
| default: '9e8eddcecba931f99297765779f8b130d808a9a3' |
| description: | |
| Specify which MCUboot version to use |
| refs/heads/<branch_name> : Pick up latest HEAD on branch |
| TAG_NAME : Pick up a tagged version |
| full commit hash : Pick up a specific commit |
| - string: |
| name: 'MCUBOOT_URL' |
| default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| - string: |
| name: 'TFM_TESTS_URL' |
| default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| - string: |
| name: 'TFM_TESTS_REFSPEC' |
| default: 'refs/heads/master' |
| description: | |
| Specify which tf-m-tests version to use |
| refs/heads/<branch_name> : Pick up latest HEAD on branch |
| TAG_NAME : Pick up a tagged version |
| full commit hash : Pick up a specific commit |
| - string: |
| name: 'PSA_ARCH_TESTS_URL' |
| default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| - string: |
| name: 'PSA_ARCH_TESTS_VERSION' |
| default: 'cf8bd7191219df9bdef387abcd750f0709283f98' |
| description: | |
| Specify which psa-arch-tests version to use |
| refs/heads/<branch_name> : Pick up latest HEAD on branch |
| TAG_NAME : Pick up a tagged version |
| full commit hash : Pick up a specific commit |
| - string: |
| name: 'QCBOR_URL' |
| default: 'https://github.com/laurencelundblade/QCBOR.git' |
| - string: |
| name: 'QCBOR_VERSION' |
| default: '92d3f89030baff4af7be8396c563e6c8ef263622' |
| description: | |
| Specify which QCBOR version to use |
| refs/heads/<branch_name> : Pick up latest HEAD on branch |
| TAG_NAME : Pick up a tagged version |
| full commit hash : Pick up a specific commit |
| - string: |
| name: SHARE_FOLDER |
| default: '/srv/shared/${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 |