Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-sync-repos |
| 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 | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame^] | 15 | - shell: |- |
| 16 | bash "$CI_ROOT/ci/tf-sync-repos.sh" |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 17 | properties: |
| 18 | - build-discarder: |
| 19 | num-to-keep: 10 |
| 20 | scm: |
| 21 | - git: |
| 22 | url: https://review.trustedfirmware.org/${GERRIT_PROJECT} |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 23 | branches: |
Arthur She | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame^] | 24 | - master |
Arthur She | 8d4de11 | 2023-07-31 19:28:02 -0700 | [diff] [blame] | 25 | skip-tag: true |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 26 | clean: |
| 27 | before: true |
| 28 | choosing-strategy: gerrit |
| 29 | basedir: proj_src |
| 30 | # publishers: |
| 31 | # - email: |
| 32 | # recipients: 'arthur.she@linaro.org' |
| 33 | triggers: |
| 34 | - gerrit: |
| 35 | server-name: review.trustedfirmware.org |
| 36 | projects: |
| 37 | - project-compare-type: PLAIN |
| 38 | project-pattern: sandbox/arthur |
| 39 | branches: |
| 40 | - branch-compare-type: PLAIN |
| 41 | branch-pattern: master |
| 42 | silent: true |
| 43 | trigger-on: |
Arthur She | 1deb216 | 2023-08-03 10:09:55 -0700 | [diff] [blame^] | 44 | - ref-updated-event |
Arthur She | 26fa2a6 | 2023-07-31 10:49:28 -0700 | [diff] [blame] | 45 | wrappers: |
| 46 | - credentials-binding: |
| 47 | - text: |
| 48 | credential-id: openci-bot-github-token |
| 49 | variable: AUTH_TOKEN |