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