1 |
<% |
2 |
escaped_domain = domain.gsub('.','\.') |
3 |
%> |
4 |
|
5 |
home: <%= sched_home_dir %> |
6 |
|
7 |
# repository declaration |
8 |
repository: |
9 |
class: Youri::Repository::Mageia |
10 |
options: |
11 |
install_root: <%= repository_root %>/distrib |
12 |
upload_root: ${home}/uploads/ |
13 |
archive_root: <%= packages_archivedir %> |
14 |
upload_state: queue |
15 |
queue: queue |
16 |
noarch: i586 |
17 |
svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/ |
18 |
1: |
19 |
arch: i586 x86_64 |
20 |
infra_1: |
21 |
arch: i586 x86_64 |
22 |
cauldron: |
23 |
arch: i586 x86_64 |
24 |
|
25 |
# targets definition |
26 |
targets: |
27 |
cauldron: |
28 |
checks: |
29 |
- version |
30 |
- tag |
31 |
- acl |
32 |
- rpmlint |
33 |
- recency |
34 |
actions: |
35 |
- markrelease |
36 |
- sign |
37 |
- install |
38 |
- link |
39 |
- unpack_release_notes |
40 |
- unpack_gfxboot_theme |
41 |
- unpack_meta_task |
42 |
- unpack_installer_images |
43 |
- unpack_installer_images_nonfree |
44 |
- unpack_installer_stage2 |
45 |
- unpack_installer_advertising |
46 |
- unpack_installer_rescue |
47 |
- unpack_rpmlint_config |
48 |
# - dkms_module_info |
49 |
- archive |
50 |
- mail |
51 |
- maintdb |
52 |
posts: |
53 |
- genhdlist2 |
54 |
- clean_rpmsrate |
55 |
- mirror |
56 |
|
57 |
1: |
58 |
checks: |
59 |
- version |
60 |
- tag |
61 |
- acl |
62 |
- rpmlint |
63 |
- recency |
64 |
actions: |
65 |
# - markrelease |
66 |
- sign |
67 |
- install |
68 |
- link |
69 |
# - unpack_release_notes |
70 |
# - unpack_gfxboot_theme |
71 |
# - unpack_meta_task |
72 |
# - unpack_installer_images |
73 |
# - unpack_installer_stage2 |
74 |
# - unpack_installer_advertising |
75 |
# - unpack_installer_rescue |
76 |
# - dkms_module_info |
77 |
- archive |
78 |
- mail |
79 |
# - maintdb |
80 |
posts: |
81 |
- genhdlist2 |
82 |
- clean_rpmsrate |
83 |
- mirror |
84 |
|
85 |
infra_1: |
86 |
checks: |
87 |
- version |
88 |
- tag |
89 |
- acl |
90 |
- rpmlint |
91 |
- recency |
92 |
actions: |
93 |
- sign |
94 |
- install |
95 |
- link |
96 |
- archive |
97 |
posts: |
98 |
- genhdlist2 |
99 |
|
100 |
# checks definition |
101 |
checks: |
102 |
tag: |
103 |
class: Youri::Submit::Check::Tag |
104 |
options: |
105 |
tags: |
106 |
release: 'mga\d+' |
107 |
# packager: '<\S+@<%= escaped_domain %>>$' |
108 |
distribution: '^Mageia' |
109 |
vendor: '^Mageia.Org$' |
110 |
|
111 |
recency: |
112 |
class: Youri::Submit::Check::Recency |
113 |
|
114 |
queue_recency: |
115 |
class: Youri::Submit::Check::Queue_recency |
116 |
|
117 |
host: |
118 |
class: Youri::Submit::Check::Host |
119 |
options: |
120 |
host_file: /etc/youri/host.conf |
121 |
|
122 |
section: |
123 |
class: Youri::Submit::Check::Section |
124 |
|
125 |
rpmlint: |
126 |
class: Youri::Submit::Check::Rpmlint |
127 |
options: |
128 |
config: /etc/rpmlint/config |
129 |
results: |
130 |
- buildprereq-use |
131 |
- no-description-tag |
132 |
- no-summary-tag |
133 |
- non-standard-group |
134 |
- non-xdg-migrated-menu |
135 |
# it breaks dbus |
136 |
#- patch-not-applied |
137 |
- percent-in-conflicts |
138 |
- percent-in-dependency |
139 |
- percent-in-obsoletes |
140 |
- percent-in-provides |
141 |
- summary-ended-with-dot |
142 |
- unexpanded-macro |
143 |
- unknown-lsb-keyword |
144 |
- malformed-line-in-lsb-comment-block |
145 |
- empty-%postun |
146 |
- empty-%post |
147 |
- invalid-desktopfile |
148 |
- standard-dir-owned-by-package |
149 |
- use-tmp-in-%postun |
150 |
- bogus-variable-use-in-%posttrans |
151 |
- dir-or-file-in-usr-local |
152 |
- dir-or-file-in-tmp |
153 |
- dir-or-file-in-mnt |
154 |
- dir-or-file-in-opt |
155 |
- dir-or-file-in-home |
156 |
- dir-or-file-in-var-local |
157 |
svn: |
158 |
class: Youri::Submit::Check::SVN |
159 |
|
160 |
acl: |
161 |
class: Youri::Submit::Check::ACL |
162 |
options: |
163 |
acl_file: /etc/youri/acl.conf |
164 |
|
165 |
history: |
166 |
class: Youri::Submit::Check::History |
167 |
|
168 |
source: |
169 |
class: Youri::Submit::Check::Source |
170 |
|
171 |
precedence: |
172 |
class: Youri::Submit::Check::Precedence |
173 |
options: |
174 |
target: cauldron |
175 |
|
176 |
version: |
177 |
class: Youri::Submit::Check::Version |
178 |
options: |
179 |
1: |
180 |
authorized_packages: none_package_authorized |
181 |
authorized_sections: ^(debug/)?(core|nonfree|tainted)/(updates_testing|backports_testing)$ |
182 |
authorized_arches: none |
183 |
mode: freeze |
184 |
|
185 |
infra_1: |
186 |
<%- infra_users = '^' + group_members('mga-sysadmin').join('|') + '$' -%> |
187 |
authorized_users: <%= infra_users %> |
188 |
mode: freeze |
189 |
|
190 |
cauldron: |
191 |
# <mrl> Prior freeze |
192 |
mode: normal |
193 |
## <blino> Version freeze |
194 |
# authorized_packages: ^$ |
195 |
# authorized_sections: ^(debug/)?(core|nonfree|tainted)/updates_testing$ |
196 |
# authorized_arches: ^$ |
197 |
# authorized_users: ^blino|ennael|nvigier$ |
198 |
# mode: version_freeze |
199 |
# <mrl> Freeze config |
200 |
# authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$ |
201 |
# authorized_packages: none_package_authorized |
202 |
# authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$ |
203 |
# authorized_arches: none |
204 |
# authorized_users: ^blino|ennael|nvigier$ |
205 |
# mode: freeze |
206 |
|
207 |
# actions definitions |
208 |
actions: |
209 |
install: |
210 |
class: Youri::Submit::Action::Install |
211 |
|
212 |
markrelease: |
213 |
class: Youri::Submit::Action::Markrelease |
214 |
|
215 |
link: |
216 |
class: Youri::Submit::Action::Link |
217 |
|
218 |
archive: |
219 |
class: Youri::Submit::Action::Archive |
220 |
|
221 |
clean: |
222 |
class: Youri::Submit::Action::Clean |
223 |
|
224 |
sign: |
225 |
class: Youri::Submit::Action::Sign |
226 |
options: |
227 |
signuser: <%= scope.lookupvar('buildsystem::signbot::login') %> |
228 |
path: <%= scope.lookupvar('buildsystem::signbot::sign_keydir') %> |
229 |
name: <%= scope.lookupvar('buildsystem::signbot::keyid') %> |
230 |
signscript: /usr/local/bin/sign-check-package |
231 |
|
232 |
unpack_gfxboot_theme: |
233 |
class: Youri::Submit::Action::Unpack |
234 |
options: |
235 |
name: mageia-gfxboot-theme |
236 |
source_subdir: /usr/share/gfxboot/themes/Mageia/install/ |
237 |
dest_directory: isolinux |
238 |
unpack_inside_distribution_root: 1 |
239 |
|
240 |
unpack_meta_task: |
241 |
class: Youri::Submit::Action::Unpack |
242 |
options: |
243 |
name: meta-task |
244 |
source_subdir: /usr/share/meta-task |
245 |
dest_directory: media/media_info |
246 |
unpack_inside_distribution_root: 1 |
247 |
|
248 |
unpack_installer_images: |
249 |
class: Youri::Submit::Action::Unpack |
250 |
options: |
251 |
name: drakx-installer-images |
252 |
source_subdir: /usr/lib*/drakx-installer-images |
253 |
dest_directory: . |
254 |
preclean_directory: install/images/alternatives |
255 |
unpack_inside_distribution_root: 1 |
256 |
|
257 |
unpack_installer_images_nonfree: |
258 |
class: Youri::Submit::Action::Unpack |
259 |
options: |
260 |
name: drakx-installer-images-nonfree |
261 |
source_subdir: /usr/lib*/drakx-installer-images |
262 |
dest_directory: . |
263 |
unpack_inside_distribution_root: 1 |
264 |
|
265 |
unpack_installer_stage2: |
266 |
class: Youri::Submit::Action::Unpack |
267 |
options: |
268 |
name: drakx-installer-stage2 |
269 |
source_subdir: /usr/lib*/drakx-installer-stage2 |
270 |
dest_directory: . |
271 |
unpack_inside_distribution_root: 1 |
272 |
|
273 |
unpack_installer_advertising: |
274 |
class: Youri::Submit::Action::Unpack |
275 |
options: |
276 |
name: drakx-installer-advertising |
277 |
source_subdir: /usr/share/drakx-installer-advertising |
278 |
dest_directory: . |
279 |
unpack_inside_distribution_root: 1 |
280 |
|
281 |
unpack_installer_rescue: |
282 |
class: Youri::Submit::Action::Unpack |
283 |
options: |
284 |
name: drakx-installer-rescue |
285 |
source_subdir: /usr/lib*/drakx-installer-rescue |
286 |
dest_directory: install/stage2 |
287 |
unpack_inside_distribution_root: 1 |
288 |
|
289 |
unpack_release_notes: |
290 |
class: Youri::Submit::Action::Unpack |
291 |
options: |
292 |
name: mageia-release-common |
293 |
source_subdir: /usr/share/doc/mageia-release-common |
294 |
grep_files: release-notes.* |
295 |
dest_directory: . |
296 |
unpack_inside_distribution_root: 1 |
297 |
|
298 |
unpack_rpmlint_config: |
299 |
class: Youri::Submit::Action::Unpack |
300 |
options: |
301 |
name: rpmlint-mageia-policy |
302 |
source_subdir: /usr/share/rpmlint/config.d/ |
303 |
grep_files: distribution.* |
304 |
dest_directory: /etc/rpmlint/extracted.d/ |
305 |
unpack_inside_distribution_root: 0 |
306 |
|
307 |
mail: |
308 |
class: Youri::Submit::Action::Mail |
309 |
options: |
310 |
mta: /usr/sbin/sendmail |
311 |
to: changelog@ml.<%= domain %> |
312 |
reply_to: mageia-dev@<%= domain %> |
313 |
from: buildsystem-daemon@<%= domain %> |
314 |
prefix: RPM |
315 |
|
316 |
maintdb: |
317 |
class: Youri::Submit::Action::UpdateMaintDb |
318 |
options: |
319 |
|
320 |
posts: |
321 |
genhdlist2: |
322 |
class: Youri::Submit::Post::Genhdlist2 |
323 |
options: |
324 |
command: /usr/bin/genhdlist2 |
325 |
clean_rpmsrate: |
326 |
class: Youri::Submit::Post::CleanRpmsrate |
327 |
mirror: |
328 |
class: Youri::Submit::Post::Mirror |
329 |
options: |
330 |
destination: /distrib/mirror/distrib |
331 |
|
332 |
# vim:ft=yaml:et:sw=4 |