blob: 030848d836cbd7374c7ba0a367f22e23390357e4 [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 She3ed22bd2023-08-03 11:02:04 -070015 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 She26fa2a62023-07-31 10:49:28 -070018 properties:
19 - build-discarder:
20 num-to-keep: 10
21 scm:
22 - git:
23 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
Arthur She26fa2a62023-07-31 10:49:28 -070024 branches:
Arthur She1deb2162023-08-03 10:09:55 -070025 - master
Arthur She3ed22bd2023-08-03 11:02:04 -070026 local-branch: master
Arthur She8d4de112023-07-31 19:28:02 -070027 skip-tag: true
Arthur She26fa2a62023-07-31 10:49:28 -070028 clean:
29 before: true
30 choosing-strategy: gerrit
31 basedir: proj_src
32# publishers:
33# - email:
34# recipients: 'arthur.she@linaro.org'
35 triggers:
36 - gerrit:
37 server-name: review.trustedfirmware.org
38 projects:
39 - project-compare-type: PLAIN
40 project-pattern: sandbox/arthur
41 branches:
42 - branch-compare-type: PLAIN
43 branch-pattern: master
44 silent: true
45 trigger-on:
Arthur She1deb2162023-08-03 10:09:55 -070046 - ref-updated-event
Arthur She26fa2a62023-07-31 10:49:28 -070047 wrappers:
48 - credentials-binding:
49 - text:
50 credential-id: openci-bot-github-token
51 variable: AUTH_TOKEN