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