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 |
authorized_users: ^blino|boklm|buchan|colin|dams|dmorgan|misc|nanardon|pterjan|tmb$ |
187 |
mode: freeze |
188 |
|
189 |
cauldron: |
190 |
# <mrl> Prior freeze |
191 |
mode: normal |
192 |
## <blino> Version freeze |
193 |
# authorized_packages: ^$ |
194 |
# authorized_sections: ^(debug/)?(core|nonfree|tainted)/updates_testing$ |
195 |
# authorized_arches: ^$ |
196 |
# authorized_users: ^blino|ennael|nvigier$ |
197 |
# mode: version_freeze |
198 |
# <mrl> Freeze config |
199 |
# authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$ |
200 |
# authorized_packages: none_package_authorized |
201 |
# authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$ |
202 |
# authorized_arches: none |
203 |
# authorized_users: ^blino|ennael|nvigier$ |
204 |
# mode: freeze |
205 |
|
206 |
# actions definitions |
207 |
actions: |
208 |
install: |
209 |
class: Youri::Submit::Action::Install |
210 |
|
211 |
markrelease: |
212 |
class: Youri::Submit::Action::Markrelease |
213 |
|
214 |
link: |
215 |
class: Youri::Submit::Action::Link |
216 |
|
217 |
archive: |
218 |
class: Youri::Submit::Action::Archive |
219 |
|
220 |
clean: |
221 |
class: Youri::Submit::Action::Clean |
222 |
|
223 |
sign: |
224 |
class: Youri::Submit::Action::Sign |
225 |
options: |
226 |
signuser: <%= scope.lookupvar('buildsystem::signbot::login') %> |
227 |
path: <%= scope.lookupvar('buildsystem::signbot::sign_keydir') %> |
228 |
name: <%= scope.lookupvar('buildsystem::signbot::keyid') %> |
229 |
signscript: /usr/local/bin/sign-check-package |
230 |
|
231 |
unpack_gfxboot_theme: |
232 |
class: Youri::Submit::Action::Unpack |
233 |
options: |
234 |
name: mageia-gfxboot-theme |
235 |
source_subdir: /usr/share/gfxboot/themes/Mageia/install/ |
236 |
dest_directory: isolinux |
237 |
unpack_inside_distribution_root: 1 |
238 |
|
239 |
unpack_meta_task: |
240 |
class: Youri::Submit::Action::Unpack |
241 |
options: |
242 |
name: meta-task |
243 |
source_subdir: /usr/share/meta-task |
244 |
dest_directory: media/media_info |
245 |
unpack_inside_distribution_root: 1 |
246 |
|
247 |
unpack_installer_images: |
248 |
class: Youri::Submit::Action::Unpack |
249 |
options: |
250 |
name: drakx-installer-images |
251 |
source_subdir: /usr/lib*/drakx-installer-images |
252 |
dest_directory: . |
253 |
preclean_directory: install/images/alternatives |
254 |
unpack_inside_distribution_root: 1 |
255 |
|
256 |
unpack_installer_images_nonfree: |
257 |
class: Youri::Submit::Action::Unpack |
258 |
options: |
259 |
name: drakx-installer-images-nonfree |
260 |
source_subdir: /usr/lib*/drakx-installer-images |
261 |
dest_directory: . |
262 |
unpack_inside_distribution_root: 1 |
263 |
|
264 |
unpack_installer_stage2: |
265 |
class: Youri::Submit::Action::Unpack |
266 |
options: |
267 |
name: drakx-installer-stage2 |
268 |
source_subdir: /usr/lib*/drakx-installer-stage2 |
269 |
dest_directory: . |
270 |
unpack_inside_distribution_root: 1 |
271 |
|
272 |
unpack_installer_advertising: |
273 |
class: Youri::Submit::Action::Unpack |
274 |
options: |
275 |
name: drakx-installer-advertising |
276 |
source_subdir: /usr/share/drakx-installer-advertising |
277 |
dest_directory: . |
278 |
unpack_inside_distribution_root: 1 |
279 |
|
280 |
unpack_installer_rescue: |
281 |
class: Youri::Submit::Action::Unpack |
282 |
options: |
283 |
name: drakx-installer-rescue |
284 |
source_subdir: /usr/lib*/drakx-installer-rescue |
285 |
dest_directory: install/stage2 |
286 |
unpack_inside_distribution_root: 1 |
287 |
|
288 |
unpack_release_notes: |
289 |
class: Youri::Submit::Action::Unpack |
290 |
options: |
291 |
name: mageia-release-common |
292 |
source_subdir: /usr/share/doc/mageia-release-common |
293 |
grep_files: release-notes.* |
294 |
dest_directory: . |
295 |
unpack_inside_distribution_root: 1 |
296 |
|
297 |
unpack_rpmlint_config: |
298 |
class: Youri::Submit::Action::Unpack |
299 |
options: |
300 |
name: rpmlint-mageia-policy |
301 |
source_subdir: /usr/share/rpmlint/config.d/ |
302 |
grep_files: distribution.* |
303 |
dest_directory: /etc/rpmlint/extracted.d/ |
304 |
unpack_inside_distribution_root: 0 |
305 |
|
306 |
mail: |
307 |
class: Youri::Submit::Action::Mail |
308 |
options: |
309 |
mta: /usr/sbin/sendmail |
310 |
to: changelog@ml.<%= domain %> |
311 |
reply_to: mageia-dev@<%= domain %> |
312 |
from: buildsystem-daemon@<%= domain %> |
313 |
prefix: RPM |
314 |
|
315 |
maintdb: |
316 |
class: Youri::Submit::Action::UpdateMaintDb |
317 |
options: |
318 |
|
319 |
posts: |
320 |
genhdlist2: |
321 |
class: Youri::Submit::Post::Genhdlist2 |
322 |
options: |
323 |
command: /usr/bin/genhdlist2 |
324 |
clean_rpmsrate: |
325 |
class: Youri::Submit::Post::CleanRpmsrate |
326 |
mirror: |
327 |
class: Youri::Submit::Post::Mirror |
328 |
options: |
329 |
destination: /distrib/mirror/distrib |
330 |
|
331 |
# vim:ft=yaml:et:sw=4 |