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