blob: f3e52e8f3d2633126cefa88d9e3f7e81f914c869 [file] [log] [blame]
Arthur Shee1d4d2a2023-08-07 09:33:58 -07001- job:
2 name: tf-sync-github-repos
Arthur She60d38232025-01-15 14:48:07 -08003 node: docker-amd64-tf-a-jammy
Arthur Shee1d4d2a2023-08-07 09:33:58 -07004 project-type: freestyle
5 concurrent: false
6 description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
7 disabled: false
Arthur Shec4af43b2024-12-23 19:24:57 -08008 parameters:
9 - string:
10 name: GERRIT_PROJECT
11 default: ''
12 description: "Gerrit project"
13 - string:
14 name: GERRIT_REFNAME
15 default: ''
16 description: "Project branch"
Arthur Shee1d4d2a2023-08-07 09:33:58 -070017 builders:
18 - shell: |-
19 #!/bin/bash
20 echo "########################################################################"
21 echo " Gerrit Environment"
22 env |grep '^GERRIT'
23 echo "########################################################################"
Arthur Sheec33d232024-04-05 10:25:33 -070024
25 - shell:
26 !include-raw: ci/tf-sync-repos.sh
Arthur Shee1d4d2a2023-08-07 09:33:58 -070027 properties:
28 - build-discarder:
Arthur Shee0bd9782024-05-27 20:51:11 -070029 num-to-keep: 30
Saheer Babu08f49c52025-01-15 11:27:46 +000030 # publishers:
31 # - email:
32 # recipients: 'arthur.she@linaro.org paul.sokolovsky@linaro.org'
Arthur Shee1d4d2a2023-08-07 09:33:58 -070033 triggers:
34 - gerrit:
Saheer Babucaf89d52024-11-05 14:16:24 +000035 silent: true
Arthur Shee1d4d2a2023-08-07 09:33:58 -070036 server-name: review.trustedfirmware.org
37 trigger-on:
38 - ref-updated-event
39 projects:
40 - project-compare-type: PLAIN
41 project-pattern: TF-A/trusted-firmware-a
42 branches:
43 - branch-compare-type: PLAIN
44 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070045 - branch-compare-type: REG_EXP
Arthur Shec4af43b2024-12-23 19:24:57 -080046 branch-pattern: lts-v2.*
47 - branch-compare-type: REG_EXP
Arthur She46f65832024-05-28 15:29:03 -070048 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070049 - project-compare-type: PLAIN
50 project-pattern: TF-A/tf-a-tests
51 branches:
52 - branch-compare-type: PLAIN
53 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070054 - branch-compare-type: REG_EXP
55 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070056 - project-compare-type: PLAIN
57 project-pattern: ci/tf-a-ci-scripts
58 branches:
59 - branch-compare-type: PLAIN
60 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070061 - branch-compare-type: REG_EXP
62 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070063 - project-compare-type: PLAIN
64 project-pattern: TF-M/trusted-firmware-m
65 branches:
66 - branch-compare-type: PLAIN
67 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070068 - branch-compare-type: REG_EXP
69 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070070 - project-compare-type: PLAIN
71 project-pattern: TF-M/tf-m-tests
72 branches:
73 - branch-compare-type: PLAIN
74 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070075 - branch-compare-type: REG_EXP
76 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070077 - project-compare-type: PLAIN
78 project-pattern: TF-M/tf-m-tools
79 branches:
80 - branch-compare-type: PLAIN
81 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070082 - branch-compare-type: REG_EXP
83 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070084 - project-compare-type: PLAIN
85 project-pattern: TF-M/tf-m-extras
86 branches:
87 - branch-compare-type: PLAIN
88 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070089 - branch-compare-type: REG_EXP
90 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070091 - project-compare-type: PLAIN
92 project-pattern: hafnium/hafnium
93 branches:
94 - branch-compare-type: PLAIN
95 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070096 - branch-compare-type: REG_EXP
97 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070098 - project-compare-type: PLAIN
99 project-pattern: hafnium/driver/linux
100 branches:
101 - branch-compare-type: PLAIN
102 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700103 - branch-compare-type: REG_EXP
104 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700105 - project-compare-type: PLAIN
106 project-pattern: hafnium/prebuilts
107 branches:
108 - branch-compare-type: PLAIN
109 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700110 - branch-compare-type: REG_EXP
111 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700112 - project-compare-type: PLAIN
113 project-pattern: hafnium/project/reference
114 branches:
115 - branch-compare-type: PLAIN
116 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700117 - branch-compare-type: REG_EXP
118 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700119 - project-compare-type: PLAIN
120 project-pattern: hafnium/third_party/dtc
121 branches:
122 - branch-compare-type: PLAIN
123 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700124 - branch-compare-type: REG_EXP
125 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700126 - project-compare-type: PLAIN
127 project-pattern: hafnium/third_party/googletest
128 branches:
129 - branch-compare-type: PLAIN
130 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700131 - branch-compare-type: REG_EXP
132 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700133 - project-compare-type: PLAIN
134 project-pattern: hafnium/third_party/linux
135 branches:
136 - branch-compare-type: PLAIN
137 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700138 - branch-compare-type: REG_EXP
139 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700140 - project-compare-type: PLAIN
141 project-pattern: ci/hafnium-job-configs
142 branches:
143 - branch-compare-type: PLAIN
144 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700145 - branch-compare-type: REG_EXP
146 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700147 - project-compare-type: PLAIN
148 project-pattern: ci/hafnium-ci-scripts
149 branches:
150 - branch-compare-type: PLAIN
151 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700152 - branch-compare-type: REG_EXP
153 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700154 - project-compare-type: PLAIN
155 project-pattern: TS/trusted-services
156 branches:
157 - branch-compare-type: PLAIN
158 branch-pattern: main
159 - branch-compare-type: PLAIN
160 branch-pattern: integration
Arthur She46f65832024-05-28 15:29:03 -0700161 - branch-compare-type: REG_EXP
162 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700163 silent-start: true
164 wrappers:
165 - credentials-binding:
166 - text:
167 credential-id: openci-bot-github-token
168 variable: AUTH_TOKEN