blob: 2b5bf9a08d8bbc6e570af09b628a95e0e7b4a782 [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
Arthur Shee1d4d2a2023-08-07 09:33:58 -070030 publishers:
31 - email:
32 recipients: 'arthur.she@linaro.org paul.sokolovsky@linaro.org'
33 triggers:
34 - gerrit:
35 server-name: review.trustedfirmware.org
36 trigger-on:
37 - ref-updated-event
38 projects:
39 - project-compare-type: PLAIN
40 project-pattern: TF-A/trusted-firmware-a
41 branches:
42 - branch-compare-type: PLAIN
43 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070044 - branch-compare-type: REG_EXP
Arthur Shec4af43b2024-12-23 19:24:57 -080045 branch-pattern: lts-v2.*
46 - branch-compare-type: REG_EXP
Arthur She46f65832024-05-28 15:29:03 -070047 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070048 - project-compare-type: PLAIN
49 project-pattern: TF-A/tf-a-tests
50 branches:
51 - branch-compare-type: PLAIN
52 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070053 - branch-compare-type: REG_EXP
54 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070055 - project-compare-type: PLAIN
56 project-pattern: ci/tf-a-ci-scripts
57 branches:
58 - branch-compare-type: PLAIN
59 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070060 - branch-compare-type: REG_EXP
61 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070062 - project-compare-type: PLAIN
63 project-pattern: TF-M/trusted-firmware-m
64 branches:
65 - branch-compare-type: PLAIN
66 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070067 - branch-compare-type: REG_EXP
68 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070069 - project-compare-type: PLAIN
70 project-pattern: TF-M/tf-m-tests
71 branches:
72 - branch-compare-type: PLAIN
73 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070074 - branch-compare-type: REG_EXP
75 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070076 - project-compare-type: PLAIN
77 project-pattern: TF-M/tf-m-tools
78 branches:
79 - branch-compare-type: PLAIN
80 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070081 - branch-compare-type: REG_EXP
82 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070083 - project-compare-type: PLAIN
84 project-pattern: TF-M/tf-m-extras
85 branches:
86 - branch-compare-type: PLAIN
87 branch-pattern: main
Arthur She46f65832024-05-28 15:29:03 -070088 - branch-compare-type: REG_EXP
89 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070090 - project-compare-type: PLAIN
91 project-pattern: hafnium/hafnium
92 branches:
93 - branch-compare-type: PLAIN
94 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -070095 - branch-compare-type: REG_EXP
96 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -070097 - project-compare-type: PLAIN
98 project-pattern: hafnium/driver/linux
99 branches:
100 - branch-compare-type: PLAIN
101 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700102 - branch-compare-type: REG_EXP
103 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700104 - project-compare-type: PLAIN
105 project-pattern: hafnium/prebuilts
106 branches:
107 - branch-compare-type: PLAIN
108 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700109 - branch-compare-type: REG_EXP
110 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700111 - project-compare-type: PLAIN
112 project-pattern: hafnium/project/reference
113 branches:
114 - branch-compare-type: PLAIN
115 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700116 - branch-compare-type: REG_EXP
117 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700118 - project-compare-type: PLAIN
119 project-pattern: hafnium/third_party/dtc
120 branches:
121 - branch-compare-type: PLAIN
122 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700123 - branch-compare-type: REG_EXP
124 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700125 - project-compare-type: PLAIN
126 project-pattern: hafnium/third_party/googletest
127 branches:
128 - branch-compare-type: PLAIN
129 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700130 - branch-compare-type: REG_EXP
131 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700132 - project-compare-type: PLAIN
133 project-pattern: hafnium/third_party/linux
134 branches:
135 - branch-compare-type: PLAIN
136 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700137 - branch-compare-type: REG_EXP
138 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700139 - project-compare-type: PLAIN
140 project-pattern: ci/hafnium-job-configs
141 branches:
142 - branch-compare-type: PLAIN
143 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700144 - branch-compare-type: REG_EXP
145 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700146 - project-compare-type: PLAIN
147 project-pattern: ci/hafnium-ci-scripts
148 branches:
149 - branch-compare-type: PLAIN
150 branch-pattern: master
Arthur She46f65832024-05-28 15:29:03 -0700151 - branch-compare-type: REG_EXP
152 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700153 - project-compare-type: PLAIN
154 project-pattern: TS/trusted-services
155 branches:
156 - branch-compare-type: PLAIN
157 branch-pattern: main
158 - branch-compare-type: PLAIN
159 branch-pattern: integration
Arthur She46f65832024-05-28 15:29:03 -0700160 - branch-compare-type: REG_EXP
161 branch-pattern: refs/tags/.*
Arthur Shee1d4d2a2023-08-07 09:33:58 -0700162 silent-start: true
163 wrappers:
164 - credentials-binding:
165 - text:
166 credential-id: openci-bot-github-token
167 variable: AUTH_TOKEN