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

  ViewVC Help
Powered by ViewVC 1.1.30