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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30