blob: 53db54f71ba4befd21e26bb3f03ecfa2bcfdf8d9 [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
6 description: Mirror TF-M, TF-A, TS projects into GitHub
7 disabled: false
8 builders:
9 - shell: |-
10 #!/bin/bash -e
11
12 echo ""
13 echo "########################################################################"
14 echo " Gerrit Environment"
15 env |grep '^GERRIT'
16 echo "########################################################################"
17
18 cd proj_src
19 ls -a
20 git remote show
21 git remote get-url origin
22 git branch
23 properties:
24 - build-discarder:
25 num-to-keep: 10
26 scm:
27 - git:
28 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
29 refspec: ${GERRIT_REFSPEC}
30 branches:
31 - ${GERRIT_BRANCH}
32 skip-tag: true
33 clean:
34 before: true
35 choosing-strategy: gerrit
36 basedir: proj_src
37# publishers:
38# - email:
39# recipients: 'arthur.she@linaro.org'
40 triggers:
41 - gerrit:
42 server-name: review.trustedfirmware.org
43 projects:
44 - project-compare-type: PLAIN
45 project-pattern: sandbox/arthur
46 branches:
47 - branch-compare-type: PLAIN
48 branch-pattern: master
49 silent: true
50 trigger-on:
51 - patchset-created-event
52 wrappers:
53 - credentials-binding:
54 - text:
55 credential-id: openci-bot-github-token
56 variable: AUTH_TOKEN