blob: 169332a6565376825ba35e2d9e3ccbe95c681027 [file] [log] [blame]
- job:
name: tf-a-dependencies-daily-tfa-next
node: docker-amd64-tf-a-jammy
project-type: multijob
concurrent: true
disabled: false
description: Daily CI job for triggering Trusted Firmware Next dependency testing
properties:
- throttle:
option: project
enabled: true
max-total: 5
- build-discarder:
days-to-keep: 14
num-to-keep: 60
- authorization:
!include: authorization.yaml.inc
parameters:
- string:
name: CI_REFSPEC
default: 'refs/changes/58/39058/5'
description: |
'Refs to fetch for the tf-a-ci-scripts repo e.g. refs/changes/13/31138/1'
- string:
name: LAVA_PRIORITY
default: 'low'
- string:
name: FETCH_SSH
default: 1
description: |
Fetch branches with authenticated SSH instead of anonymous HTTPS
- string:
name: CLONE_REPOS
default: "tf-a-ci-scripts,arm-ffa,arm-pl011-uart,arm-psci,arm-gic"
description: |
Optional arg to clone only specific projects from default list (tf-a-ci-scripts,trusted-firmware-a,tf-a-tests,spm,tf-m-tests,tf-m-extras)
- string:
name: SHARE_FOLDER
default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}'
description: 'Folder containing shared repositories for downstream pipeline jobs'
wrappers:
- credentials-binding:
- ssh-user-private-key:
credential-id: TFA_CI_BOT_USER_SSH_KEY
key-file-variable: CI_BOT_KEY
username-variable: CI_BOT_USERNAME
passphrase-variable: ''
- timestamps
builders:
- shell:
!include-raw: scripts/clone-tomgon.sh
- shell: |
#!/bin/bash
set -e
cat << EOF > share.param
SHARE_FOLDER=${SHARE_FOLDER}
EOF
- multijob:
name: Test arm-ffa
condition: COMPLETED
projects:
- name: tomgon-generic-tfa-next
current-parameters: true
kill-phase-on: NEVER
predefined-parameters: |
TEST_REPO_NAME=arm-ffa
TEST_REPO_PROJECT=rust-spmc/${TEST_REPO_NAME}
property-file: share.param
- multijob:
name: Test arm-pl011-uart
condition: COMPLETED
projects:
- name: tomgon-generic-tfa-next
current-parameters: true
kill-phase-on: NEVER
predefined-parameters: |
TEST_REPO_NAME=arm-pl011-uart
TEST_REPO_PROJECT=rust-spmc/${TEST_REPO_NAME}
property-file: share.param
- multijob:
name: Test arm-psci
condition: COMPLETED
projects:
- name: tomgon-generic-tfa-next
current-parameters: true
kill-phase-on: NEVER
predefined-parameters: |
TEST_REPO_NAME=arm-psci
TEST_REPO_PROJECT=rust-spmc/${TEST_REPO_NAME}
property-file: share.param
- multijob:
name: Test arm-gic
condition: COMPLETED
projects:
- name: tomgon-generic-tfa-next
current-parameters: true
kill-phase-on: NEVER
predefined-parameters: |
TEST_REPO_NAME=arm-gic
TEST_REPO_PROJECT=rust-spmc/${TEST_REPO_NAME}
property-file: share.param
# triggers:
# - timed: '*/10 * * * *'