blob: ef0a7f65f4ca270d4c1b214abb90c8279adc8f34 [file] [log] [blame]
Arthur She26fa2a62023-07-31 10:49:28 -07001- job:
2 name: tf-sync-repos
3 node: master
4 project-type: freestyle
5 concurrent: false
Arthur She1deb2162023-08-03 10:09:55 -07006 description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
Arthur She26fa2a62023-07-31 10:49:28 -07007 disabled: false
8 builders:
9 - shell: |-
Arthur She1deb2162023-08-03 10:09:55 -070010 #!/bin/bash
Arthur She26fa2a62023-07-31 10:49:28 -070011 echo "########################################################################"
12 echo " Gerrit Environment"
13 env |grep '^GERRIT'
14 echo "########################################################################"
Arthur She1deb2162023-08-03 10:09:55 -070015 - shell: |-
16 bash "$CI_ROOT/ci/tf-sync-repos.sh"
Arthur She26fa2a62023-07-31 10:49:28 -070017 properties:
18 - build-discarder:
19 num-to-keep: 10
20 scm:
21 - git:
22 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
Arthur She26fa2a62023-07-31 10:49:28 -070023 branches:
Arthur She1deb2162023-08-03 10:09:55 -070024 - master
Arthur She8d4de112023-07-31 19:28:02 -070025 skip-tag: true
Arthur She26fa2a62023-07-31 10:49:28 -070026 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 She1deb2162023-08-03 10:09:55 -070044 - ref-updated-event
Arthur She26fa2a62023-07-31 10:49:28 -070045 wrappers:
46 - credentials-binding:
47 - text:
48 credential-id: openci-bot-github-token
49 variable: AUTH_TOKEN