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

  ViewVC Help
Powered by ViewVC 1.1.30