| - job: |
| name: arthur-tf-a-gerrit-tforg-l1 |
| node: docker-amd64-tf-a-jammy |
| project-type: multijob |
| concurrent: true |
| disabled: true |
| description: | |
| Job that triggers for every TF-A patch approved with the Allow-CI+1 |
| label on review.trustedfirmware.org. |
| properties: |
| - throttle: |
| option: project |
| enabled: true |
| max-total: 5 |
| - build-discarder: |
| days-to-keep: 14 |
| parameters: |
| - string: |
| name: GERRIT_PROJECT |
| default: 'TF-A/trusted-firmware-a' |
| - string: |
| name: GERRIT_BRANCH |
| default: 'refs/heads/integration' |
| - string: |
| name: GERRIT_REFSPEC |
| default: '+refs/heads/integration:refs/remotes/origin/integration' |
| - string: |
| name: GERRIT_PATCHSET_NUMBER |
| default: '' |
| - string: |
| name: GERRIT_CHANGE_NUMBER |
| default: '' |
| - string: |
| name: TF_GERRIT_REFSPEC |
| default: ${GERRIT_REFSPEC} |
| description: 'Parameter only used by the clone script' |
| - string: |
| name: TFTF_GERRIT_PROJECT |
| default: 'TF-A/tf-a-tests' |
| - string: |
| name: TFTF_GERRIT_BRANCH |
| default: 'refs/heads/master' |
| - string: |
| name: TFTF_GERRIT_REFSPEC |
| default: '+refs/heads/master:refs/remotes/origin/master' |
| - string: |
| name: SPM_REFSPEC |
| default: '+refs/heads/master:refs/remotes/origin/master' |
| description: | |
| SPM(Hafnium) refspec to use. The master branch is used by default. |
| - string: |
| name: CI_REFSPEC |
| default: '+refs/heads/master:refs/remotes/origin/master' |
| - string: |
| name: JOBS_REFSPEC |
| default: 'refs/heads/master' |
| description: | |
| tf-a-job-configs refspec to use. The master branch is used by default. |
| - string: |
| name: MBEDTLS_URL |
| default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.2.tar.gz' |
| - string: |
| name: CI_GERRIT_PROJECT |
| default: 'people/arthur.she/tf-a-ci-scripts.git' |
| - string: |
| name: JOBS_PROJECT |
| default: 'next/ci/tf-a-job-configs.git' |
| - 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: '' |
| - workspace-cleanup |
| - timestamps |
| builders: |
| - shell: |
| !include-raw: arthur-scripts/clone.sh |
| - shell: | |
| #!/bin/bash |
| set -e |
| cat << EOF > env.param |
| GERRIT_PATCHSET_NUMBER=${GERRIT_PATCHSET_NUMBER} |
| GERRIT_CHANGE_NUMBER=${GERRIT_CHANGE_NUMBER} |
| GERRIT_HOST=${GERRIT_HOST} |
| QA_SERVER_PROJECT=${JOB_NAME} |
| QA_SERVER_VERSION=${BUILD_NUMBER} |
| TF_GERRIT_PROJECT=${GERRIT_PROJECT} |
| TF_GERRIT_BRANCH=${GERRIT_BRANCH} |
| TF_GERRIT_REFSPEC=${GERRIT_REFSPEC} |
| SHARE_FOLDER=${SHARE_FOLDER} |
| EOF |
| - multijob: |
| name: Lint commit messages |
| condition: COMPLETED |
| projects: |
| - name: arthur-tf-a-commitlint |
| kill-phase-on: NEVER |
| predefined-parameters: | |
| URL=https://review.trustedfirmware.org/${GERRIT_PROJECT} |
| REFSPEC=${GERRIT_REFSPEC} |
| REFNAME=${GERRIT_PATCHSET_REVISION} |
| REFNAME_BASE=origin/${GERRIT_BRANCH} |
| # - multijob: |
| # condition: COMPLETED |
| # name: Build and static checks |
| # projects: |
| # - kill-phase-on: NEVER |
| # name: tf-a-static-checks |
| # predefined-parameters: |- |
| # TEST_GROUPS=tf-l2-scan-build |
| # ENABLE_STATIC_CHECK=true |
| # property-file: env.param |
| - multijob: |
| condition: COMPLETED |
| name: Run doc build check |
| projects: |
| - kill-phase-on: NEVER |
| name: arthur-tf-a-ci-gateway |
| predefined-parameters: | |
| TEST_GROUPS=tf-l1-check-docs |
| property-file: env.param |
| - multijob: |
| condition: COMPLETED |
| name: Run build tests |
| projects: |
| - kill-phase-on: NEVER |
| name: arthur-tf-a-ci-gateway |
| predefined-parameters: | |
| TEST_GROUPS=tf-l1-build-fvp |
| property-file: env.param |
| triggers: |
| - gerrit: |
| server-name: review.trustedfirmware.org |
| trigger-on: |
| - comment-added-event: |
| approval-category: "Allow-CI" |
| approval-value: 1 |
| projects: |
| - project-compare-type: PLAIN |
| project-pattern: TF-A/trusted-firmware-a |
| branches: |
| - branch-compare-type: PLAIN |
| branch-pattern: integration |
| override-votes: true |
| gerrit-build-started-verified-value: 0 |
| gerrit-build-successful-verified-value: 0 |
| gerrit-build-failed-verified-value: 0 |
| gerrit-build-unstable-verified-value: 0 |
| gerrit-build-notbuilt-verified-value: 0 |
| gerrit-build-started-codereview-value: 0 |
| gerrit-build-successful-codereview-value: 0 |
| gerrit-build-failed-codereview-value: 0 |
| gerrit-build-unstable-codereview-value: 0 |
| gerrit-build-notbuilt-codereview-value: 0 |
| silent: true |