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