blob: fd7ccc6a61090513547613311f716a4ec3474a03 [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: |-
Arthur She089da0b2023-07-31 11:06:28 -070010 #!/bin/bash -xe
Arthur She26fa2a62023-07-31 10:49:28 -070011
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}
Arthur Shed5b8ed62023-07-31 11:40:19 -070029 refspec: ${GERRIT_REFSPEC}
Arthur She26fa2a62023-07-31 10:49:28 -070030 branches:
Arthur She089da0b2023-07-31 11:06:28 -070031 - origin/master
32 skip-tag: false
Arthur She26fa2a62023-07-31 10:49:28 -070033 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