blob: 3bdad6e7dd90d598e39be630d90a1e8d3e088981 [file] [log] [blame]
Arthur Shee1d4d2a2023-08-07 09:33:58 -07001- job:
2 name: tf-sync-github-repos
3 node: master
4 project-type: freestyle
5 concurrent: false
6 description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
7 disabled: false
8 builders:
9 - shell: |-
10 #!/bin/bash
11 echo "########################################################################"
12 echo " Gerrit Environment"
13 env |grep '^GERRIT'
14 echo "########################################################################"
Arthur Sheec33d232024-04-05 10:25:33 -070015
16 - shell:
17 !include-raw: ci/tf-sync-repos.sh
Arthur Shee1d4d2a2023-08-07 09:33:58 -070018 properties:
19 - build-discarder:
Arthur Shee0bd9782024-05-27 20:51:11 -070020 num-to-keep: 30
Arthur Shee1d4d2a2023-08-07 09:33:58 -070021 publishers:
22 - email:
23 recipients: 'arthur.she@linaro.org paul.sokolovsky@linaro.org'
24 triggers:
25 - gerrit:
26 server-name: review.trustedfirmware.org
27 trigger-on:
28 - ref-updated-event
29 projects:
30 - project-compare-type: PLAIN
31 project-pattern: TF-A/trusted-firmware-a
32 branches:
33 - branch-compare-type: PLAIN
34 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070035 - branch-compare-type: REG_EXP
36 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070037 - project-compare-type: PLAIN
38 project-pattern: TF-A/tf-a-tests
39 branches:
40 - branch-compare-type: PLAIN
41 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070042 - branch-compare-type: REG_EXP
43 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070044 - project-compare-type: PLAIN
45 project-pattern: ci/tf-a-ci-scripts
46 branches:
47 - branch-compare-type: PLAIN
48 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070049 - branch-compare-type: REG_EXP
50 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070051 - project-compare-type: PLAIN
52 project-pattern: TF-M/trusted-firmware-m
53 branches:
54 - branch-compare-type: PLAIN
55 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070056 - branch-compare-type: REG_EXP
57 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070058 - project-compare-type: PLAIN
59 project-pattern: TF-M/tf-m-tests
60 branches:
61 - branch-compare-type: PLAIN
62 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070063 - branch-compare-type: REG_EXP
64 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070065 - project-compare-type: PLAIN
66 project-pattern: TF-M/tf-m-tools
67 branches:
68 - branch-compare-type: PLAIN
69 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070070 - branch-compare-type: REG_EXP
71 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070072 - project-compare-type: PLAIN
73 project-pattern: TF-M/tf-m-extras
74 branches:
75 - branch-compare-type: PLAIN
76 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070077 - branch-compare-type: REG_EXP
78 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070079 - project-compare-type: PLAIN
80 project-pattern: hafnium/hafnium
81 branches:
82 - branch-compare-type: PLAIN
83 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070084 - branch-compare-type: REG_EXP
85 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070086 - project-compare-type: PLAIN
87 project-pattern: hafnium/driver/linux
88 branches:
89 - branch-compare-type: PLAIN
90 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070091 - branch-compare-type: REG_EXP
92 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070093 - project-compare-type: PLAIN
94 project-pattern: hafnium/prebuilts
95 branches:
96 - branch-compare-type: PLAIN
97 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070098 - branch-compare-type: REG_EXP
99 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700100 - project-compare-type: PLAIN
101 project-pattern: hafnium/project/reference
102 branches:
103 - branch-compare-type: PLAIN
104 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700105 - branch-compare-type: REG_EXP
106 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700107 - project-compare-type: PLAIN
108 project-pattern: hafnium/third_party/dtc
109 branches:
110 - branch-compare-type: PLAIN
111 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700112 - branch-compare-type: REG_EXP
113 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700114 - project-compare-type: PLAIN
115 project-pattern: hafnium/third_party/googletest
116 branches:
117 - branch-compare-type: PLAIN
118 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700119 - branch-compare-type: REG_EXP
120 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700121 - project-compare-type: PLAIN
122 project-pattern: hafnium/third_party/linux
123 branches:
124 - branch-compare-type: PLAIN
125 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700126 - branch-compare-type: REG_EXP
127 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700128 - project-compare-type: PLAIN
129 project-pattern: ci/hafnium-job-configs
130 branches:
131 - branch-compare-type: PLAIN
132 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700133 - branch-compare-type: REG_EXP
134 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700135 - project-compare-type: PLAIN
136 project-pattern: ci/hafnium-ci-scripts
137 branches:
138 - branch-compare-type: PLAIN
139 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700140 - branch-compare-type: REG_EXP
141 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700142 - project-compare-type: PLAIN
143 project-pattern: TS/trusted-services
144 branches:
145 - branch-compare-type: PLAIN
146 branch-pattern: main
147 - branch-compare-type: PLAIN
148 branch-pattern: integration
Arthur She46f65832024-05-28 15:29:03 -0700149 - branch-compare-type: REG_EXP
150 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700151 silent-start: true
152 wrappers:
153 - credentials-binding:
154 - text:
155 credential-id: openci-bot-github-token
156 variable: AUTH_TOKEN