blob: c15bd0311b24950154fe01367bb0571decdecbbd [file] [log] [blame]
- scm:
name: trusted-firmware-a
scm:
- git:
url: https://review.trustedfirmware.org/TF-A/trusted-firmware-a
refspec: ${TFA_REFSPEC}
name: origin
branches:
- refs/heads/master
basedir: trusted-firmware-a
choosing-strategy: gerrit
skip-tag: true
shallow-clone: true
wipe-workspace: false
- scm:
name: hafnium
scm:
- git:
url: https://review.trustedfirmware.org/hafnium/hafnium
refspec: ${HF_REFSPEC}
name: origin
branches:
- refs/heads/master
basedir: hafnium
choosing-strategy: gerrit
skip-tag: true
shallow-clone: true
wipe-workspace: false
submodule:
recursive: true
- scm:
name: hf-ci-scripts
scm:
- git:
url: https://review.trustedfirmware.org/ci/hafnium-ci-scripts
refspec: ${HF_SCRIPT_REFSPEC}
name: origin
branches:
- refs/heads/master
basedir: hafnium-ci-scripts
choosing-strategy: gerrit
skip-tag: true
shallow-clone: true
wipe-workspace: false
- scm:
name: ffa-acs
scm:
- git:
url: https://github.com/ARM-software/ff-a-acs
refspec: ${ACS_REFSPEC}
name: origin
branches:
- refs/heads/main
basedir: ff-a-acs
choosing-strategy: gerrit
skip-tag: true
shallow-clone: true
wipe-workspace: false
- job:
name: max-shvetsov-acs-hafnium
description: ACS compliance tests for Hafnium
node: docker-amd64-tf-a-bionic
concurrent: true
properties:
- build-discarder:
days-to-keep: 90
parameters:
- string:
name: TFA_REFSPEC
default: '+refs/heads/master:refs/remotes/origin/master'
- string:
name: HF_REFSPEC
default: '+refs/heads/master:refs/remotes/origin/master'
- string:
name: HF_SCRIPT_REFSPEC
default: '+refs/heads/master:refs/remotes/origin/master'
- string:
name: ACS_REFSPEC
default: '+refs/heads/main:refs/remotes/origin/main'
- string:
name: FVP_MODEL_ARCHIVE_NAME
default: 'FVP_Base_RevC-2xAEMvA_11.17_21.tgz'
- string:
name: FVP_MODEL_URL
default: 'https://developer.arm.com/-/media/Files/downloads/ecosystem-models'
scm:
- trusted-firmware-a
- hafnium
- hf-ci-scripts
- ffa-acs
wrappers:
- timestamps
- 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: ''
builders:
- shell: |
#!/bin/bash
set -ex
mkdir ${WORKSPACE}/../fvp
pushd ${WORKSPACE}/../fvp
wget -q ${FVP_MODEL_URL}/${FVP_MODEL_ARCHIVE_NAME}
tar xvfz ${FVP_MODEL_ARCHIVE_NAME}
popd
${WORKSPACE}/hafnium-ci-scripts/acs/builder.sh
${WORKSPACE}/hafnium-ci-scripts/acs/runner.sh
publishers:
- archive:
artifacts: 'out/**/acs_log/**/*uart*'