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 |
| 8 | builders: |
| 9 | - shell: |- |
Arthur She | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame] | 10 | #!/bin/bash |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 11 | echo "########################################################################" |
| 12 | echo " Gerrit Environment" |
| 13 | env |grep '^GERRIT' |
| 14 | echo "########################################################################" |
Arthur She | 3ed22bd | 2023-08-03 11:02:04 -0700 | [diff] [blame] | 15 | mkdir -p ci |
| 16 | wget -q https://git.trustedfirmware.org/next/ci/tf-ci-scripts.git/plain/ci/tf-sync-repos.sh -O ci/tf-sync-repos.sh |
| 17 | bash ci/tf-sync-repos.sh |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 18 | properties: |
| 19 | - build-discarder: |
| 20 | num-to-keep: 10 |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 21 | # publishers: |
| 22 | # - email: |
| 23 | # recipients: 'arthur.she@linaro.org' |
| 24 | triggers: |
| 25 | - gerrit: |
| 26 | server-name: review.trustedfirmware.org |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 27 | trigger-on: |
| 28 | - ref-updated-event |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 29 | projects: |
| 30 | - project-compare-type: PLAIN |
| 31 | project-pattern: sandbox/arthur |
| 32 | branches: |
| 33 | - branch-compare-type: PLAIN |
| 34 | branch-pattern: master |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 35 | - branch-compare-type: PLAIN |
Arthur She | bd98699 | 2024-01-02 20:25:48 -0800 | [diff] [blame] | 36 | branch-pattern: branch-1 |
Arthur She | e325155 | 2024-01-04 21:31:10 -0800 | [diff] [blame^] | 37 | # Trigger on tag creatation |
Arthur She | 36b9d36 | 2024-01-03 21:13:42 -0800 | [diff] [blame] | 38 | - branch-compare-type: REG_EXP |
| 39 | branch-pattern: refs/tags/tag-.* |
Arthur She | 2bcccd7 | 2023-08-07 08:27:46 -0700 | [diff] [blame] | 40 | silent-start: true |
Arthur She | e325155 | 2024-01-04 21:31:10 -0800 | [diff] [blame^] | 41 | skip-vote: |
| 42 | successful: true |
| 43 | failed: true |
| 44 | unstable: true |
| 45 | notbuilt: true |
| 46 | aborted: true |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 47 | wrappers: |
| 48 | - credentials-binding: |
| 49 | - text: |
| 50 | credential-id: openci-bot-github-token |
| 51 | variable: AUTH_TOKEN |