Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 1 | - job: |
Arthur She | 7376bec | 2024-01-03 20:42:41 -0800 | [diff] [blame] | 2 | name: arthur-tf-sync-repos |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 3 | node: master |
| 4 | project-type: freestyle |
| 5 | concurrent: false |
Arthur She | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame] | 6 | description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 7 | disabled: false |
Arthur She | b3d2167 | 2024-12-23 18:03:27 -0800 | [diff] [blame^] | 8 | parameters: |
| 9 | - string: |
| 10 | name: GERRIT_PROJECT |
| 11 | default: '' |
| 12 | description: "Gerrit project" |
| 13 | - string: |
| 14 | name: GERRIT_REFNAME |
| 15 | default: '' |
| 16 | description: "Project branch" |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 17 | builders: |
| 18 | - shell: |- |
Arthur She | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame] | 19 | #!/bin/bash |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 20 | echo "########################################################################" |
| 21 | echo " Gerrit Environment" |
| 22 | env |grep '^GERRIT' |
| 23 | echo "########################################################################" |
Arthur She | e7cf06c | 2024-05-28 13:50:29 -0700 | [diff] [blame] | 24 | |
| 25 | - shell: |
| 26 | !include-raw: ci/tf-sync-repos.sh |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 27 | properties: |
| 28 | - build-discarder: |
Arthur She | e7cf06c | 2024-05-28 13:50:29 -0700 | [diff] [blame] | 29 | num-to-keep: 30 |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 30 | # publishers: |
| 31 | # - email: |
| 32 | # recipients: 'arthur.she@linaro.org' |
| 33 | triggers: |
| 34 | - gerrit: |
| 35 | server-name: review.trustedfirmware.org |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 36 | trigger-on: |
| 37 | - ref-updated-event |
Arthur She | 162cd44 | 2024-01-04 21:43:15 -0800 | [diff] [blame] | 38 | - patchset-uploaded-event |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 39 | projects: |
| 40 | - project-compare-type: PLAIN |
| 41 | project-pattern: sandbox/arthur |
| 42 | branches: |
| 43 | - branch-compare-type: PLAIN |
| 44 | branch-pattern: master |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 45 | - branch-compare-type: PLAIN |
Arthur She | bd98699 | 2024-01-02 20:25:48 -0800 | [diff] [blame] | 46 | branch-pattern: branch-1 |
Arthur She | b3d2167 | 2024-12-23 18:03:27 -0800 | [diff] [blame^] | 47 | - branch-compare-type: REG_EXP |
| 48 | branch-pattern: lts-v.* |
Arthur She | e325155 | 2024-01-04 21:31:10 -0800 | [diff] [blame] | 49 | # Trigger on tag creatation |
Arthur She | 36b9d36 | 2024-01-03 21:13:42 -0800 | [diff] [blame] | 50 | - branch-compare-type: REG_EXP |
Arthur She | 631db55 | 2024-05-28 15:17:34 -0700 | [diff] [blame] | 51 | branch-pattern: refs/tags/.* |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 52 | silent-start: true |
Arthur She | e325155 | 2024-01-04 21:31:10 -0800 | [diff] [blame] | 53 | skip-vote: |
| 54 | successful: true |
| 55 | failed: true |
| 56 | unstable: true |
| 57 | notbuilt: true |
| 58 | aborted: true |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 59 | wrappers: |
| 60 | - credentials-binding: |
| 61 | - text: |
| 62 | credential-id: openci-bot-github-token |
| 63 | variable: AUTH_TOKEN |
Arthur She | a64e82f | 2024-01-07 13:48:19 -0800 | [diff] [blame] | 64 | - text: |
| 65 | credential-id: Trusted_Firmware_ReadTheDocs_Token |
| 66 | variable: RTD_TOKEN |
| 67 | |