Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 1 | - job: |
mardyk01 | abc34a1 | 2023-12-13 10:41:37 -0600 | [diff] [blame] | 2 | name: tf-a-weekly |
Paul Sokolovsky | 47e458d | 2023-08-07 14:47:47 +0300 | [diff] [blame] | 3 | node: docker-amd64-tf-a-jammy |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 4 | project-type: multijob |
| 5 | concurrent: true |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 6 | disabled: false |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 7 | description: Main CI job for Trusted Firmware. |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 8 | properties: |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 9 | - throttle: |
| 10 | option: project |
| 11 | enabled: true |
| 12 | max-total: 5 |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 13 | - build-discarder: |
| 14 | days-to-keep: 14 |
| 15 | num-to-keep: 60 |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 16 | parameters: |
| 17 | - string: |
| 18 | name: TF_GERRIT_PROJECT |
| 19 | default: 'TF-A/trusted-firmware-a' |
| 20 | - string: |
| 21 | name: TF_GERRIT_BRANCH |
| 22 | default: 'refs/heads/integration' |
| 23 | - string: |
| 24 | name: TF_GERRIT_REFSPEC |
| 25 | default: '+refs/heads/integration:refs/remotes/origin/integration' |
| 26 | - string: |
| 27 | name: TFTF_GERRIT_PROJECT |
| 28 | default: 'TF-A/tf-a-tests' |
| 29 | - string: |
| 30 | name: TFTF_GERRIT_BRANCH |
| 31 | default: 'refs/heads/master' |
| 32 | - string: |
| 33 | name: TFTF_GERRIT_REFSPEC |
| 34 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 35 | - string: |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 36 | name: SPM_REFSPEC |
| 37 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 38 | description: | |
| 39 | SPM(Hafnium) refspec to use. The master branch is used by default. |
| 40 | - string: |
Manish V Badarkhe | 08e108b | 2025-04-11 08:01:14 +0100 | [diff] [blame] | 41 | name: RMM_REFSPEC |
| 42 | default: '+refs/heads/main:refs/remotes/origin/main' |
| 43 | description: | |
| 44 | tf-rmm refspec to use. The main branch is used by default. |
| 45 | - string: |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 46 | name: CI_REFSPEC |
| 47 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 48 | - string: |
Saheer Babu | b495f03 | 2025-01-21 23:01:11 +0000 | [diff] [blame] | 49 | name: JOBS_REFSPEC |
| 50 | default: 'refs/heads/master' |
| 51 | description: | |
| 52 | tf-a-job-configs refspec to use. The master branch is used by default. |
| 53 | - string: |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 54 | name: LAVA_PRIORITY |
| 55 | default: 'low' |
| 56 | - string: |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 57 | name: MBEDTLS_URL |
Lauren Wehrmeister | cec409a | 2025-04-03 14:34:02 -0500 | [diff] [blame] | 58 | default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.3.tar.gz' |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 59 | - string: |
| 60 | name: LAVA_RETRIES |
| 61 | default: 2 |
| 62 | description: | |
| 63 | Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures) |
| 64 | - string: |
| 65 | name: USE_TUXSUITE_FVP |
| 66 | default: 1 |
| 67 | description: | |
| 68 | Whether to submit FVP tests via TuxSuite (instead of LAVA) |
| 69 | - string: |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 70 | name: SHARE_FOLDER |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 71 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
Benjamin Copeland | 5088cdd | 2025-04-08 11:04:18 +0100 | [diff] [blame] | 72 | description: 'Folder containing shared repositories for downstream pipeline jobs.' |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 73 | wrappers: |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 74 | - workspace-cleanup |
| 75 | - timestamps |
Mark Dykes | 7c2661d | 2023-06-23 15:02:21 -0500 | [diff] [blame] | 76 | builders: |
Mark Dykes | 318e333 | 2024-11-11 14:27:34 -0600 | [diff] [blame] | 77 | - shell: |
| 78 | !include-raw: scripts/clone.sh |
| 79 | - shell: | |
| 80 | #!/bin/bash |
| 81 | set -e |
| 82 | cat << EOF > tf-a-env.param |
| 83 | GERRIT_PROJECT=${TF_GERRIT_PROJECT} |
| 84 | GERRIT_BRANCH=${TF_GERRIT_BRANCH} |
| 85 | GERRIT_REFSPEC=${TF_GERRIT_REFSPEC} |
| 86 | QA_SERVER_PROJECT=${JOB_NAME} |
| 87 | QA_SERVER_VERSION=${BUILD_NUMBER} |
| 88 | SHARE_FOLDER=${SHARE_FOLDER} |
| 89 | EOF |
| 90 | cat << EOF > tf-a-tests-env.param |
| 91 | GERRIT_PROJECT=${TFTF_GERRIT_PROJECT} |
| 92 | GERRIT_BRANCH=${TFTF_GERRIT_BRANCH} |
| 93 | GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC} |
| 94 | QA_SERVER_PROJECT=${JOB_NAME} |
| 95 | QA_SERVER_VERSION=${BUILD_NUMBER} |
| 96 | SHARE_FOLDER=${SHARE_FOLDER} |
| 97 | EOF |
| 98 | - multijob: |
| 99 | name: TFTF Fuzzing |
| 100 | condition: COMPLETED |
| 101 | projects: |
| 102 | - name: tf-a-ci-gateway |
| 103 | alias: tf-l3-fuzzing SDEI |
| 104 | current-parameters: true |
| 105 | kill-phase-on: NEVER |
| 106 | predefined-parameters: TEST_GROUPS=tf-l3-fuzzing |
| 107 | property-file: tf-a-tests-env.param |
| 108 | # participate in the job's success/failure. |
| 109 | - trigger-builds: |
| 110 | - project: tf-a-ci-coverage-gateway |
| 111 | block: true |
| 112 | current-parameters: true |
Saheer Babu | 75aafc9 | 2025-02-11 10:04:19 +0000 | [diff] [blame] | 113 | # triggers: |
| 114 | # - timed: '59 23 * * 7' |