blob: 19441a831f98d48e6ded58c3bd42805ced428478 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-lava-submit
description: 'Generates and submits LAVA jobs'
project-type: pipeline
disabled: false
sandbox: true
concurrent: true
properties:
- build-discarder:
days-to-keep: 15
num-to-keep: 6000
- authorization:
anonymous:
- job-read
- job-extended-read
parameters:
- string:
name: 'TARGET_PLATFORM'
description: |
Specifies the target platform.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'PROJ_CONFIG'
description: |
Specifies the way the application is built.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'COMPILER'
description: |
Specifies the compiler toolchain.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'CMAKE_BUILD_TYPE'
description: |
Configures debugging support.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'BL2'
default: 'True'
description: |
Whether to build BL2.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_secure_boot.rst">here</a>.
- string:
name: 'GERRIT_REFSPEC'
default: 'refs/heads/master'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_BRANCH'
default: 'master'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'CI_SCRIPTS_REPO'
default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
- string:
name: 'CODE_REPO'
default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
- string:
name: 'MBEDTLS_VERSION'
default: 'mbedtls-2.24.0'
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
- string:
name: 'BUILD_NUMBER'
default: ''
- string:
name: 'BUILD_URL'
default: ''
- string:
name: 'LAVA_URL'
default: 'https://tf.validation.linaro.org'
- string:
name: 'CI_SCRIPTS_BRANCH'
default: 'master'
- string:
name: 'DOCKER_PREFIX'
default: 'REPLACE_DOCKER_PREFIX'
- string:
name: 'LICENSE_VARIABLE'
default: 'REPLACE_LICENSE_VARIABLE'
- string:
name: 'PSA_API_SUITE'
default: ''
- string:
name: 'LAVA_CREDENTIALS'
default: 'LAVA_CREDENTIALS'
description: "Name of Jenkins credential for authentication with LAVA."
pipeline-scm:
scm:
- git:
url: '$CI_SCRIPTS_REPO'
branches:
- '$CI_SCRIPTS_BRANCH'
credentials-id: GIT_SSH_KEY
wipe-workspace: false
script-path: jenkins/lava-submit.jpl