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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1232 - (show annotations) (download)
Tue Mar 1 22:38:27 2011 UTC (13 years, 1 month ago) by pterjan
Original Path: puppet/modules/buildsystem/templates/submit-upload.conf
File size: 7417 byte(s)
Add [RPM] in changelog ML subjects
1 <%
2 escaped_domain = domain.gsub('.','\.')
3 %>
4
5 home: <%= sched_home_dir %>
6
7 # repository declaration
8 repository:
9 class: Youri::Repository::Mageia_upload
10 options:
11 install_root: <%= repository_root %>/distrib
12 upload_root: ${home}/uploads/
13 archive_root: <%= packages_archivedir %>
14 upload_state: queue
15 queue: queue
16 noarch: i586
17 svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
18 1:
19 arch: i586 x86_64
20 cauldron:
21 arch: i586 x86_64
22
23 # targets definition
24 targets:
25 cauldron:
26 checks:
27 - version
28 - tag
29 - acl
30 - rpmlint
31 - recency
32 actions:
33 - markrelease
34 - sign
35 - install
36 - link
37 # - unpack_release_notes
38 - unpack_gfxboot_theme
39 - unpack_meta_task
40 - unpack_installer_images
41 - unpack_installer_stage2
42 - unpack_installer_advertising
43 - unpack_installer_rescue
44 # - dkms_module_info
45 - archive
46 - mail
47 posts:
48 - genhdlist2
49 - mirror
50
51 1:
52 checks:
53 - version
54 - tag
55 - acl
56 - rpmlint
57 - recency
58 - queue_recency
59 actions:
60 - markrelease
61 - sign
62 - install
63 - link
64 # - unpack_release_notes
65 - unpack_gfxboot_theme
66 - unpack_meta_task
67 - unpack_installer_images
68 - unpack_installer_stage2
69 - unpack_installer_advertising
70 - unpack_installer_rescue
71 # - dkms_module_info
72 - archive
73 - mail
74 posts:
75 - genhdlist2
76
77 # checks definition
78 checks:
79 tag:
80 class: Youri::Submit::Check::Tag
81 options:
82 tags:
83 release: 'mga\d+'
84 # packager: '<\S+@<%= escaped_domain %>>$'
85 distribution: '^Mageia'
86 vendor: '^Mageia.Org$'
87
88 recency:
89 class: Youri::Submit::Check::Recency
90
91 queue_recency:
92 class: Youri::Submit::Check::Queue_recency
93
94 host:
95 class: Youri::Submit::Check::Host
96 options:
97 host_file: /etc/youri/host.conf
98
99 section:
100 class: Youri::Submit::Check::Section
101
102 rpmlint:
103 class: Youri::Submit::Check::Rpmlint
104 options:
105 config: /etc/rpmlint/config
106 results:
107 - buildprereq-use
108 - no-description-tag
109 - no-summary-tag
110 - non-standard-group
111 - non-xdg-migrated-menu
112 # it breaks dbus
113 #- patch-not-applied
114 - percent-in-conflicts
115 - percent-in-dependency
116 - percent-in-obsoletes
117 - percent-in-provides
118 - summary-ended-with-dot
119
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: ^[a-z]+/(updates|updates_testing|backports|backports_testing)$
145 authorized_arches: none
146 mode: freeze
147
148 cauldron:
149 # <mrl> Prior freeze
150 authorized_sections: ^[a-z]+/(release|updates_testing)$
151 authorized_arches: .*
152 mode: normal
153 ## <blino> Version freeze
154 # authorized_packages: ^$
155 # authorized_sections: ^[a-z]+/updates_testing$
156 # authorized_arches: ^$
157 # authorized_users: ^blino|ennael|nvigier$
158 # mode: version_freeze
159 # <mrl> Freeze config
160 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
161 # authorized_packages: none_package_authorized
162 # authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$
163 # authorized_arches: none
164 # authorized_users: ^blino|ennael|nvigier$
165 # mode: freeze
166
167 # actions definitions
168 actions:
169 install:
170 class: Youri::Submit::Action::Install
171
172 markrelease:
173 class: Youri::Submit::Action::Markrelease
174
175 link:
176 class: Youri::Submit::Action::Link
177
178 archive:
179 class: Youri::Submit::Action::Archive
180
181 clean:
182 class: Youri::Submit::Action::Clean
183
184 sign:
185 class: Youri::Submit::Action::Sign
186 options:
187 signuser: <%= sign_login %>
188 path: <%= sign_keydir %>
189 name: <%= sign_keyid %>
190 signscript: /usr/local/bin/sign-check-package
191
192 unpack_gfxboot_theme:
193 class: Youri::Submit::Action::Unpack
194 options:
195 name: mageia-gfxboot-theme
196 source_subdir: /usr/share/gfxboot/themes/Mageia/install/
197 dest_directory: isolinux
198 unpack_inside_distribution_root: 1
199
200 unpack_meta_task:
201 class: Youri::Submit::Action::Unpack
202 options:
203 name: meta-task
204 source_subdir: /usr/share/meta-task
205 dest_directory: media/media_info
206 unpack_inside_distribution_root: 1
207
208 unpack_installer_images:
209 class: Youri::Submit::Action::Unpack
210 options:
211 name: drakx-installer-images
212 source_subdir: /usr/lib*/drakx-installer-images
213 dest_directory: .
214 preclean_directory: install/images/alternatives
215 unpack_inside_distribution_root: 1
216
217 unpack_installer_stage2:
218 class: Youri::Submit::Action::Unpack
219 options:
220 name: drakx-installer-stage2
221 source_subdir: /usr/lib*/drakx-installer-stage2
222 dest_directory: .
223 unpack_inside_distribution_root: 1
224
225 unpack_installer_advertising:
226 class: Youri::Submit::Action::Unpack
227 options:
228 name: drakx-installer-advertising
229 source_subdir: /usr/share/drakx-installer-advertising
230 dest_directory: .
231 unpack_inside_distribution_root: 1
232
233 unpack_installer_rescue:
234 class: Youri::Submit::Action::Unpack
235 options:
236 name: drakx-installer-rescue
237 source_subdir: /usr/lib*/drakx-installer-rescue
238 dest_directory: install/stage2
239 unpack_inside_distribution_root: 1
240
241 mail:
242 class: Youri::Submit::Action::Mail
243 options:
244 mta: /usr/sbin/sendmail
245 to: changelog@ml.<%= domain %>
246 reply_to: mageia-dev@<%= domain %>
247 from: buildsystem-daemon@<%= domain %>
248 prefix: RPM
249
250 posts:
251 genhdlist2:
252 class: Youri::Submit::Post::Genhdlist2
253 options:
254 command: /usr/bin/genhdlist2
255 mirror:
256 class: Youri::Submit::Post::Mirror
257 options:
258 destination: /distrib/mirror/distrib
259
260 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30