/[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 1874 - (show annotations) (download)
Wed Jul 20 11:42:38 2011 UTC (12 years, 9 months ago) by misc
File size: 8596 byte(s)
do not unpack in /etc/rpmlint, but in a subdirectory that will be owned by schedbot

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 # disabled until we have working system for exception
125 #- unexpanded-macro
126 svn:
127 class: Youri::Submit::Check::SVN
128
129 acl:
130 class: Youri::Submit::Check::ACL
131 options:
132 acl_file: /etc/youri/acl.conf
133
134 history:
135 class: Youri::Submit::Check::History
136
137 source:
138 class: Youri::Submit::Check::Source
139
140 precedence:
141 class: Youri::Submit::Check::Precedence
142 options:
143 target: cauldron
144
145 version:
146 class: Youri::Submit::Check::Version
147 options:
148 1:
149 authorized_packages: none_package_authorized
150 authorized_sections: ^(debug/)?(core|nonfree|tainted)/(updates_testing|backports_testing)$
151 authorized_arches: none
152 mode: freeze
153
154 cauldron:
155 # <mrl> Prior freeze
156 authorized_sections: ^(debug/)?(core|nonfree|tainted)/(release|updates_testing)$
157 authorized_arches: .*
158 mode: normal
159 ## <blino> Version freeze
160 # authorized_packages: ^$
161 # authorized_sections: ^(debug/)?(core|nonfree|tainted)/updates_testing$
162 # authorized_arches: ^$
163 # authorized_users: ^blino|ennael|nvigier$
164 # mode: version_freeze
165 # <mrl> Freeze config
166 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
167 # authorized_packages: none_package_authorized
168 # authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$
169 # authorized_arches: none
170 # authorized_users: ^blino|ennael|nvigier$
171 # mode: freeze
172
173 # actions definitions
174 actions:
175 install:
176 class: Youri::Submit::Action::Install
177
178 markrelease:
179 class: Youri::Submit::Action::Markrelease
180
181 link:
182 class: Youri::Submit::Action::Link
183
184 archive:
185 class: Youri::Submit::Action::Archive
186
187 clean:
188 class: Youri::Submit::Action::Clean
189
190 sign:
191 class: Youri::Submit::Action::Sign
192 options:
193 signuser: <%= sign_login %>
194 path: <%= sign_keydir %>
195 name: <%= sign_keyid %>
196 signscript: /usr/local/bin/sign-check-package
197
198 unpack_gfxboot_theme:
199 class: Youri::Submit::Action::Unpack
200 options:
201 name: mageia-gfxboot-theme
202 source_subdir: /usr/share/gfxboot/themes/Mageia/install/
203 dest_directory: isolinux
204 unpack_inside_distribution_root: 1
205
206 unpack_meta_task:
207 class: Youri::Submit::Action::Unpack
208 options:
209 name: meta-task
210 source_subdir: /usr/share/meta-task
211 dest_directory: media/media_info
212 unpack_inside_distribution_root: 1
213
214 unpack_installer_images:
215 class: Youri::Submit::Action::Unpack
216 options:
217 name: drakx-installer-images
218 source_subdir: /usr/lib*/drakx-installer-images
219 dest_directory: .
220 preclean_directory: install/images/alternatives
221 unpack_inside_distribution_root: 1
222
223 unpack_installer_stage2:
224 class: Youri::Submit::Action::Unpack
225 options:
226 name: drakx-installer-stage2
227 source_subdir: /usr/lib*/drakx-installer-stage2
228 dest_directory: .
229 unpack_inside_distribution_root: 1
230
231 unpack_installer_advertising:
232 class: Youri::Submit::Action::Unpack
233 options:
234 name: drakx-installer-advertising
235 source_subdir: /usr/share/drakx-installer-advertising
236 dest_directory: .
237 unpack_inside_distribution_root: 1
238
239 unpack_installer_rescue:
240 class: Youri::Submit::Action::Unpack
241 options:
242 name: drakx-installer-rescue
243 source_subdir: /usr/lib*/drakx-installer-rescue
244 dest_directory: install/stage2
245 unpack_inside_distribution_root: 1
246
247 unpack_release_notes:
248 class: Youri::Submit::Action::Unpack
249 options:
250 name: mageia-release-common
251 source_subdir: /usr/share/doc/mageia-release-common
252 grep_files: release-notes.*
253 dest_directory: .
254 unpack_inside_distribution_root: 1
255
256 unpack_rpmlint_config:
257 class: Youri::Submit::Action::Unpack
258 options:
259 name: rpmlint-mageia-policy
260 source_subdir: /usr/share/rpmlint/config.d/
261 grep_files: distribution.*
262 dest_directory: /etc/rpmlint/extracted.d/
263 unpack_inside_distribution_root: 0
264
265 mail:
266 class: Youri::Submit::Action::Mail
267 options:
268 mta: /usr/sbin/sendmail
269 to: changelog@ml.<%= domain %>
270 reply_to: mageia-dev@<%= domain %>
271 from: buildsystem-daemon@<%= domain %>
272 prefix: RPM
273
274 maintdb:
275 class: Youri::Submit::Action::UpdateMaintDb
276 options:
277 maintdb_url: <%= maintdb_url %>
278 maintdb_key: <%= maintdb_key %>
279
280 posts:
281 genhdlist2:
282 class: Youri::Submit::Post::Genhdlist2
283 options:
284 command: /usr/bin/genhdlist2
285 clean_rpmsrate:
286 class: Youri::Submit::Post::CleanRpmsrate
287 mirror:
288 class: Youri::Submit::Post::Mirror
289 options:
290 destination: /distrib/mirror/distrib
291
292 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30