/[adm]/puppet/modules/buildsystem/templates/youri/submit-todo.conf
ViewVC logotype

Contents of /puppet/modules/buildsystem/templates/youri/submit-todo.conf

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30