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 |
|
61 |
infra_1: |
62 |
checks: |
63 |
- source |
64 |
- version |
65 |
- tag |
66 |
- acl |
67 |
- rpmlint |
68 |
- recency |
69 |
- queue_recency |
70 |
actions: |
71 |
- send |
72 |
- rpminfo |
73 |
|
74 |
# checks definition |
75 |
checks: |
76 |
tag: |
77 |
class: Youri::Submit::Check::Tag |
78 |
options: |
79 |
tags: |
80 |
release: 'mga\d+' |
81 |
# packager: '<\S+@<%= escaped_domain %>>$' |
82 |
distribution: '^Mageia' |
83 |
vendor: '^Mageia.Org$' |
84 |
|
85 |
recency: |
86 |
class: Youri::Submit::Check::Recency |
87 |
|
88 |
queue_recency: |
89 |
class: Youri::Submit::Check::Queue_recency |
90 |
|
91 |
host: |
92 |
class: Youri::Submit::Check::Host |
93 |
options: |
94 |
host_file: /etc/youri/host.conf |
95 |
|
96 |
section: |
97 |
class: Youri::Submit::Check::Section |
98 |
|
99 |
rpmlint: |
100 |
class: Youri::Submit::Check::Rpmlint |
101 |
options: |
102 |
config: /etc/rpmlint/config |
103 |
results: |
104 |
- buildprereq-use |
105 |
- no-description-tag |
106 |
- no-summary-tag |
107 |
- non-standard-group |
108 |
- non-xdg-migrated-menu |
109 |
# it breaks dbus |
110 |
#- patch-not-applied |
111 |
- percent-in-conflicts |
112 |
- percent-in-dependency |
113 |
- percent-in-obsoletes |
114 |
- percent-in-provides |
115 |
- summary-ended-with-dot |
116 |
- invalid-spec-name |
117 |
- noarch-python-in-64bit-path |
118 |
svn: |
119 |
class: Youri::Submit::Check::SVN |
120 |
|
121 |
acl: |
122 |
class: Youri::Submit::Check::ACL |
123 |
options: |
124 |
acl_file: /etc/youri/acl.conf |
125 |
|
126 |
history: |
127 |
class: Youri::Submit::Check::History |
128 |
|
129 |
source: |
130 |
class: Youri::Submit::Check::Source |
131 |
|
132 |
precedence: |
133 |
class: Youri::Submit::Check::Precedence |
134 |
options: |
135 |
target: cauldron |
136 |
|
137 |
version: |
138 |
class: Youri::Submit::Check::Version |
139 |
options: |
140 |
1: |
141 |
authorized_packages: none_package_authorized |
142 |
authorized_sections: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$ |
143 |
authorized_arches: none |
144 |
mode: freeze |
145 |
|
146 |
cauldron: |
147 |
# * No freeze |
148 |
authorized_sections: ^[a-z]+/(release|updates_testing)$ |
149 |
authorized_arches: .* |
150 |
mode: normal |
151 |
# * Version freeze / Full Freeze |
152 |
# authorized_packages: ^$ |
153 |
# authorized_sections: ^(core|nonfree|tainted)/updates_testing$ |
154 |
# authorized_arches: ^$ |
155 |
# authorized_users: ^blino|ennael|misc|boklm|pterjan|stewb|tmb|saispo$ |
156 |
# mode: version_freeze |
157 |
# mode: freeze |
158 |
|
159 |
deps: |
160 |
class: Youri::Submit::Check::Deps |
161 |
|
162 |
# actions definitions |
163 |
actions: |
164 |
send: |
165 |
class: Youri::Submit::Action::Send |
166 |
options: |
167 |
user: <%= sched_login %> |
168 |
keep_svn_release: yes |
169 |
uphost: pkgsubmit.<%= domain %> |
170 |
root: ${home}/uploads |
171 |
ssh_key: ${home}/.ssh/id_rsa |
172 |
|
173 |
rpminfo: |
174 |
class: Youri::Submit::Action::Rpminfo |
175 |
options: |
176 |
user: <%= sched_login %> |
177 |
uphost: pkgsubmit.<%= domain %> |
178 |
root: ${home}/uploads |
179 |
ssh_key: ${home}/.ssh/id_rsa |
180 |
|
181 |
# vim:ft=yaml:et:sw=4 |