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