1 |
<% |
2 |
escaped_domain = domain.gsub('.','\.') |
3 |
repository_root = scope.lookupvar('buildsystem::var::repository::bootstrap_root') |
4 |
sched_home_dir = scope.lookupvar('buildsystem::var::scheduler::homedir') |
5 |
sched_login = scope.lookupvar('buildsystem::var::scheduler::login') |
6 |
%> |
7 |
|
8 |
home: <%= sched_home_dir %> |
9 |
|
10 |
# repository declaration |
11 |
repository: |
12 |
class: Youri::Repository::Mageia |
13 |
options: |
14 |
install_root: <%= repository_root %>/distrib |
15 |
upload_root: ${home}/uploads/ |
16 |
upload_state: todo done queue |
17 |
queue: todo |
18 |
noarch: i586 |
19 |
svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/ |
20 |
2: |
21 |
arch: i586 x86_64 |
22 |
1: |
23 |
arch: i586 x86_64 |
24 |
infra_1: |
25 |
arch: i586 x86_64 |
26 |
infra_2: |
27 |
arch: i586 x86_64 |
28 |
cauldron: |
29 |
arch: i586 x86_64 |
30 |
|
31 |
# targets definition |
32 |
targets: |
33 |
cauldron: |
34 |
checks: |
35 |
- source |
36 |
- deps |
37 |
- version |
38 |
#- svn |
39 |
- tag |
40 |
- acl |
41 |
- host |
42 |
#- section |
43 |
- rpmlint |
44 |
- recency |
45 |
#- history |
46 |
- queue_recency |
47 |
actions: |
48 |
- send |
49 |
- rpminfo |
50 |
- ulri |
51 |
|
52 |
1: |
53 |
checks: |
54 |
- source |
55 |
- version |
56 |
#- svn |
57 |
- tag |
58 |
- acl |
59 |
- host |
60 |
#- section |
61 |
- rpmlint |
62 |
- recency |
63 |
#- history |
64 |
- queue_recency |
65 |
actions: |
66 |
- send |
67 |
- rpminfo |
68 |
- ulri |
69 |
|
70 |
2: |
71 |
checks: |
72 |
- source |
73 |
- version |
74 |
#- svn |
75 |
- tag |
76 |
- acl |
77 |
- host |
78 |
#- section |
79 |
- rpmlint |
80 |
- recency |
81 |
#- history |
82 |
- queue_recency |
83 |
actions: |
84 |
- send |
85 |
- rpminfo |
86 |
- ulri |
87 |
|
88 |
infra_1: |
89 |
checks: |
90 |
- source |
91 |
- version |
92 |
- tag |
93 |
- acl |
94 |
- rpmlint |
95 |
- recency |
96 |
- queue_recency |
97 |
actions: |
98 |
- send |
99 |
- rpminfo |
100 |
- ulri |
101 |
|
102 |
infra_2: |
103 |
checks: |
104 |
- source |
105 |
- version |
106 |
- tag |
107 |
- acl |
108 |
- rpmlint |
109 |
- recency |
110 |
- queue_recency |
111 |
actions: |
112 |
- send |
113 |
- rpminfo |
114 |
- ulri |
115 |
|
116 |
# checks definition |
117 |
checks: |
118 |
tag: |
119 |
class: Youri::Submit::Check::Tag |
120 |
options: |
121 |
tags: |
122 |
release: 'mga\d+' |
123 |
# packager: '<\S+@<%= escaped_domain %>>$' |
124 |
distribution: '^Mageia' |
125 |
vendor: '^Mageia.Org$' |
126 |
|
127 |
recency: |
128 |
class: Youri::Submit::Check::Recency |
129 |
|
130 |
queue_recency: |
131 |
class: Youri::Submit::Check::Queue_recency |
132 |
|
133 |
host: |
134 |
class: Youri::Submit::Check::Host |
135 |
options: |
136 |
host_file: /etc/youri/host.conf |
137 |
|
138 |
section: |
139 |
class: Youri::Submit::Check::Section |
140 |
|
141 |
rpmlint: |
142 |
class: Youri::Submit::Check::Rpmlint |
143 |
options: |
144 |
config: /etc/rpmlint/config |
145 |
results: |
146 |
- buildprereq-use |
147 |
- no-description-tag |
148 |
- no-summary-tag |
149 |
- non-standard-group |
150 |
- non-xdg-migrated-menu |
151 |
# it breaks dbus |
152 |
#- patch-not-applied |
153 |
- percent-in-conflicts |
154 |
- percent-in-dependency |
155 |
- percent-in-obsoletes |
156 |
- percent-in-provides |
157 |
- summary-ended-with-dot |
158 |
- invalid-spec-name |
159 |
- noarch-python-in-64bit-path |
160 |
cauldron: |
161 |
config: /usr/share/rpmlint/config |
162 |
path: /usr/bin/rpmlint |
163 |
1: |
164 |
config: /usr/share/rpmlint/config.mga2 |
165 |
path: /usr/bin/mga2-rpmlint |
166 |
2: |
167 |
config: /usr/share/rpmlint/config.mga2 |
168 |
path: /usr/bin/mga2-rpmlint |
169 |
infra_1: |
170 |
config: /usr/share/rpmlint/config.mga2 |
171 |
path: /usr/bin/mga2-rpmlint |
172 |
infra_2: |
173 |
config: /usr/share/rpmlint/config.mga2 |
174 |
path: /usr/bin/mga2-rpmlint |
175 |
svn: |
176 |
class: Youri::Submit::Check::SVN |
177 |
|
178 |
acl: |
179 |
class: Youri::Submit::Check::ACL |
180 |
options: |
181 |
acl_file: /etc/youri/acl.conf |
182 |
|
183 |
history: |
184 |
class: Youri::Submit::Check::History |
185 |
|
186 |
source: |
187 |
class: Youri::Submit::Check::Source |
188 |
|
189 |
precedence: |
190 |
class: Youri::Submit::Check::Precedence |
191 |
options: |
192 |
target: cauldron |
193 |
|
194 |
version: |
195 |
class: Youri::Submit::Check::Version |
196 |
options: |
197 |
2: |
198 |
authorized_packages: none_package_authorized |
199 |
authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports_testing)$ |
200 |
authorized_arches: none |
201 |
mode: freeze |
202 |
|
203 |
1: |
204 |
authorized_packages: none_package_authorized |
205 |
# authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports_testing)$ |
206 |
authorized_arches: none |
207 |
mode: freeze |
208 |
|
209 |
cauldron: |
210 |
# authorized_sections: ^[a-z]+/updates_testing$ |
211 |
authorized_sections: ^$ |
212 |
authorized_packages: ^$ |
213 |
authorized_arches: none |
214 |
authorized_users: ^<%= scope.function_group_members(['mga-release_managers']).join('|') %>$ |
215 |
# mode: normal |
216 |
# mode: version_freeze |
217 |
mode: freeze |
218 |
|
219 |
deps: |
220 |
class: Youri::Submit::Check::Deps |
221 |
|
222 |
# actions definitions |
223 |
actions: |
224 |
send: |
225 |
class: Youri::Submit::Action::Send |
226 |
options: |
227 |
user: <%= sched_login %> |
228 |
keep_svn_release: yes |
229 |
uphost: pkgsubmit.<%= domain %> |
230 |
root: ${home}/uploads |
231 |
ssh_key: ${home}/.ssh/id_rsa |
232 |
|
233 |
rpminfo: |
234 |
class: Youri::Submit::Action::Rpminfo |
235 |
options: |
236 |
user: <%= sched_login %> |
237 |
uphost: pkgsubmit.<%= domain %> |
238 |
root: ${home}/uploads |
239 |
ssh_key: ${home}/.ssh/id_rsa |
240 |
|
241 |
ulri: |
242 |
class: Youri::Submit::Action::Ulri |
243 |
options: |
244 |
user: <%= sched_login %> |
245 |
uphost: pkgsubmit.<%= domain %> |
246 |
ssh_key: ${home}/.ssh/id_rsa |
247 |
logfile: /var/log/<%= sched_login %>/ulri.log |
248 |
|
249 |
# vim:ft=yaml:et:sw=4 |