/[adm]/puppet/modules/buildsystem/templates/youri/submit-upload.conf
ViewVC logotype

Contents of /puppet/modules/buildsystem/templates/youri/submit-upload.conf

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30