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 |
upload_state: todo done queue |
14 |
queue: todo |
15 |
noarch: i586 |
16 |
svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/ |
17 |
1: |
18 |
arch: i586 x86_64 |
19 |
infra_1: |
20 |
arch: i586 x86_64 |
21 |
cauldron: |
22 |
arch: i586 x86_64 |
23 |
|
24 |
# targets definition |
25 |
targets: |
26 |
cauldron: |
27 |
checks: |
28 |
- source |
29 |
- deps |
30 |
- version |
31 |
#- svn |
32 |
- tag |
33 |
- acl |
34 |
- host |
35 |
#- section |
36 |
- rpmlint |
37 |
- recency |
38 |
#- history |
39 |
- queue_recency |
40 |
actions: |
41 |
- send |
42 |
- rpminfo |
43 |
|
44 |
1: |
45 |
checks: |
46 |
- source |
47 |
- version |
48 |
#- svn |
49 |
- tag |
50 |
- acl |
51 |
- host |
52 |
#- section |
53 |
- rpmlint |
54 |
- recency |
55 |
#- history |
56 |
- queue_recency |
57 |
actions: |
58 |
- send |
59 |
- rpminfo |
60 |
- ulri |
61 |
|
62 |
infra_1: |
63 |
checks: |
64 |
- source |
65 |
- version |
66 |
- tag |
67 |
- acl |
68 |
- rpmlint |
69 |
- recency |
70 |
- queue_recency |
71 |
actions: |
72 |
- send |
73 |
- rpminfo |
74 |
- ulri |
75 |
|
76 |
# checks definition |
77 |
checks: |
78 |
tag: |
79 |
class: Youri::Submit::Check::Tag |
80 |
options: |
81 |
tags: |
82 |
release: 'mga\d+' |
83 |
# packager: '<\S+@<%= escaped_domain %>>$' |
84 |
distribution: '^Mageia' |
85 |
vendor: '^Mageia.Org$' |
86 |
|
87 |
recency: |
88 |
class: Youri::Submit::Check::Recency |
89 |
|
90 |
queue_recency: |
91 |
class: Youri::Submit::Check::Queue_recency |
92 |
|
93 |
host: |
94 |
class: Youri::Submit::Check::Host |
95 |
options: |
96 |
host_file: /etc/youri/host.conf |
97 |
|
98 |
section: |
99 |
class: Youri::Submit::Check::Section |
100 |
|
101 |
rpmlint: |
102 |
class: Youri::Submit::Check::Rpmlint |
103 |
options: |
104 |
config: /etc/rpmlint/config |
105 |
results: |
106 |
- buildprereq-use |
107 |
- no-description-tag |
108 |
- no-summary-tag |
109 |
- non-standard-group |
110 |
- non-xdg-migrated-menu |
111 |
# it breaks dbus |
112 |
#- patch-not-applied |
113 |
- percent-in-conflicts |
114 |
- percent-in-dependency |
115 |
- percent-in-obsoletes |
116 |
- percent-in-provides |
117 |
- summary-ended-with-dot |
118 |
- invalid-spec-name |
119 |
- noarch-python-in-64bit-path |
120 |
svn: |
121 |
class: Youri::Submit::Check::SVN |
122 |
|
123 |
acl: |
124 |
class: Youri::Submit::Check::ACL |
125 |
options: |
126 |
acl_file: /etc/youri/acl.conf |
127 |
|
128 |
history: |
129 |
class: Youri::Submit::Check::History |
130 |
|
131 |
source: |
132 |
class: Youri::Submit::Check::Source |
133 |
|
134 |
precedence: |
135 |
class: Youri::Submit::Check::Precedence |
136 |
options: |
137 |
target: cauldron |
138 |
|
139 |
version: |
140 |
class: Youri::Submit::Check::Version |
141 |
options: |
142 |
1: |
143 |
authorized_packages: none_package_authorized |
144 |
authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$ |
145 |
authorized_arches: none |
146 |
mode: freeze |
147 |
|
148 |
cauldron: |
149 |
authorized_sections: ^[a-z]+/updates_testing$ |
150 |
authorized_packages: ^$ |
151 |
authorized_arches: none |
152 |
authorized_users: ^<%= scope.function_group_members(['mga-release_managers']).join('|') %>$ |
153 |
# mode: normal |
154 |
# mode: version_freeze |
155 |
mode: freeze |
156 |
|
157 |
deps: |
158 |
class: Youri::Submit::Check::Deps |
159 |
|
160 |
# actions definitions |
161 |
actions: |
162 |
send: |
163 |
class: Youri::Submit::Action::Send |
164 |
options: |
165 |
user: <%= sched_login %> |
166 |
keep_svn_release: yes |
167 |
uphost: pkgsubmit.<%= domain %> |
168 |
root: ${home}/uploads |
169 |
ssh_key: ${home}/.ssh/id_rsa |
170 |
|
171 |
rpminfo: |
172 |
class: Youri::Submit::Action::Rpminfo |
173 |
options: |
174 |
user: <%= sched_login %> |
175 |
uphost: pkgsubmit.<%= domain %> |
176 |
root: ${home}/uploads |
177 |
ssh_key: ${home}/.ssh/id_rsa |
178 |
|
179 |
ulri: |
180 |
class: Youri::Submit::Action::Ulri |
181 |
options: |
182 |
user: <%= sched_login %> |
183 |
uphost: pkgsubmit.<%= domain %> |
184 |
ssh_key: ${home}/.ssh/id_rsa |
185 |
|
186 |
# vim:ft=yaml:et:sw=4 |