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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1903 - (hide annotations) (download)
Mon Jul 25 17:51:31 2011 UTC (12 years, 8 months ago) by misc
Original Path: puppet/modules/buildsystem/templates/submit-upload.conf
File size: 8525 byte(s)
reenable unexpanded-macro check, now we have a working system for exceptions,
as said on https://www.mageia.org/pipermail/mageia-dev/2011-July/006912.html 

1 pterjan 683 <%
2     escaped_domain = domain.gsub('.','\.')
3     %>
4 pterjan 682
5 pterjan 683 home: <%= sched_home_dir %>
6 pterjan 682
7     # repository declaration
8     repository:
9 pterjan 1390 class: Youri::Repository::Mageia
10 pterjan 682 options:
11 pterjan 683 install_root: <%= repository_root %>/distrib
12 pterjan 682 upload_root: ${home}/uploads/
13 boklm 1223 archive_root: <%= packages_archivedir %>
14 pterjan 682 upload_state: queue
15     queue: queue
16     noarch: i586
17 pterjan 683 svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
18 pterjan 684 1:
19 pterjan 682 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 pterjan 924 - recency
32 pterjan 682 actions:
33 pterjan 719 - markrelease
34 boklm 992 - sign
35 pterjan 682 - install
36     - link
37 pterjan 1644 - unpack_release_notes
38 pterjan 1222 - unpack_gfxboot_theme
39     - unpack_meta_task
40     - unpack_installer_images
41     - unpack_installer_stage2
42     - unpack_installer_advertising
43     - unpack_installer_rescue
44 misc 1873 - unpack_rpmlint_config
45 pterjan 1222 # - dkms_module_info
46     - archive
47 pterjan 1229 - mail
48 boklm 1384 - maintdb
49 blino 721 posts:
50 blino 720 - genhdlist2
51 blino 1399 - clean_rpmsrate
52 pterjan 1068 - mirror
53 pterjan 682
54 pterjan 684 1:
55 pterjan 682 checks:
56     - version
57     - tag
58     - acl
59     - rpmlint
60     - recency
61     actions:
62 pterjan 719 - markrelease
63 boklm 992 - sign
64 pterjan 682 - install
65     - link
66 pterjan 1644 - unpack_release_notes
67 pterjan 1222 - unpack_gfxboot_theme
68     - unpack_meta_task
69     - unpack_installer_images
70     - unpack_installer_stage2
71     - unpack_installer_advertising
72     - unpack_installer_rescue
73     # - dkms_module_info
74     - archive
75 pterjan 1229 - mail
76 boklm 1836 # - maintdb
77 blino 721 posts:
78 blino 720 - genhdlist2
79 blino 1399 - clean_rpmsrate
80 pterjan 1712 - mirror
81 pterjan 682
82     # checks definition
83     checks:
84     tag:
85     class: Youri::Submit::Check::Tag
86     options:
87     tags:
88     release: 'mga\d+'
89 pterjan 683 # packager: '<\S+@<%= escaped_domain %>>$'
90 pterjan 682 distribution: '^Mageia'
91 pterjan 686 vendor: '^Mageia.Org$'
92 pterjan 682
93     recency:
94     class: Youri::Submit::Check::Recency
95    
96     queue_recency:
97     class: Youri::Submit::Check::Queue_recency
98    
99     host:
100     class: Youri::Submit::Check::Host
101     options:
102     host_file: /etc/youri/host.conf
103    
104     section:
105     class: Youri::Submit::Check::Section
106    
107     rpmlint:
108     class: Youri::Submit::Check::Rpmlint
109     options:
110     config: /etc/rpmlint/config
111     results:
112     - buildprereq-use
113     - no-description-tag
114     - no-summary-tag
115     - non-standard-group
116     - non-xdg-migrated-menu
117     # it breaks dbus
118     #- patch-not-applied
119     - percent-in-conflicts
120     - percent-in-dependency
121     - percent-in-obsoletes
122     - percent-in-provides
123     - summary-ended-with-dot
124 misc 1903 - unexpanded-macro
125 pterjan 682 svn:
126     class: Youri::Submit::Check::SVN
127    
128     acl:
129     class: Youri::Submit::Check::ACL
130     options:
131     acl_file: /etc/youri/acl.conf
132    
133     history:
134     class: Youri::Submit::Check::History
135    
136     source:
137     class: Youri::Submit::Check::Source
138    
139     precedence:
140     class: Youri::Submit::Check::Precedence
141     options:
142     target: cauldron
143    
144     version:
145     class: Youri::Submit::Check::Version
146     options:
147 pterjan 684 1:
148 pterjan 682 authorized_packages: none_package_authorized
149 pterjan 1732 authorized_sections: ^(debug/)?(core|nonfree|tainted)/(updates_testing|backports_testing)$
150 pterjan 682 authorized_arches: none
151     mode: freeze
152    
153     cauldron:
154     # <mrl> Prior freeze
155 pterjan 1732 authorized_sections: ^(debug/)?(core|nonfree|tainted)/(release|updates_testing)$
156 pterjan 682 authorized_arches: .*
157     mode: normal
158     ## <blino> Version freeze
159     # authorized_packages: ^$
160 pterjan 1732 # authorized_sections: ^(debug/)?(core|nonfree|tainted)/updates_testing$
161 pterjan 682 # authorized_arches: ^$
162     # authorized_users: ^blino|ennael|nvigier$
163     # mode: version_freeze
164     # <mrl> Freeze config
165     # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
166     # authorized_packages: none_package_authorized
167 pterjan 921 # authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$
168 pterjan 682 # authorized_arches: none
169     # authorized_users: ^blino|ennael|nvigier$
170     # mode: freeze
171    
172     # actions definitions
173     actions:
174     install:
175     class: Youri::Submit::Action::Install
176    
177     markrelease:
178 blino 722 class: Youri::Submit::Action::Markrelease
179 pterjan 682
180     link:
181 blino 722 class: Youri::Submit::Action::Link
182 pterjan 682
183     archive:
184 blino 722 class: Youri::Submit::Action::Archive
185 pterjan 682
186     clean:
187 blino 722 class: Youri::Submit::Action::Clean
188 pterjan 682
189 boklm 969 sign:
190 boklm 970 class: Youri::Submit::Action::Sign
191 boklm 969 options:
192     signuser: <%= sign_login %>
193     path: <%= sign_keydir %>
194     name: <%= sign_keyid %>
195 boklm 1027 signscript: /usr/local/bin/sign-check-package
196 boklm 969
197 pterjan 1222 unpack_gfxboot_theme:
198     class: Youri::Submit::Action::Unpack
199     options:
200     name: mageia-gfxboot-theme
201     source_subdir: /usr/share/gfxboot/themes/Mageia/install/
202     dest_directory: isolinux
203     unpack_inside_distribution_root: 1
204    
205     unpack_meta_task:
206     class: Youri::Submit::Action::Unpack
207     options:
208     name: meta-task
209     source_subdir: /usr/share/meta-task
210     dest_directory: media/media_info
211     unpack_inside_distribution_root: 1
212    
213     unpack_installer_images:
214     class: Youri::Submit::Action::Unpack
215     options:
216     name: drakx-installer-images
217     source_subdir: /usr/lib*/drakx-installer-images
218     dest_directory: .
219     preclean_directory: install/images/alternatives
220     unpack_inside_distribution_root: 1
221    
222     unpack_installer_stage2:
223     class: Youri::Submit::Action::Unpack
224     options:
225     name: drakx-installer-stage2
226     source_subdir: /usr/lib*/drakx-installer-stage2
227     dest_directory: .
228     unpack_inside_distribution_root: 1
229    
230     unpack_installer_advertising:
231     class: Youri::Submit::Action::Unpack
232     options:
233     name: drakx-installer-advertising
234     source_subdir: /usr/share/drakx-installer-advertising
235     dest_directory: .
236     unpack_inside_distribution_root: 1
237    
238     unpack_installer_rescue:
239     class: Youri::Submit::Action::Unpack
240     options:
241     name: drakx-installer-rescue
242     source_subdir: /usr/lib*/drakx-installer-rescue
243     dest_directory: install/stage2
244     unpack_inside_distribution_root: 1
245    
246 pterjan 1644 unpack_release_notes:
247     class: Youri::Submit::Action::Unpack
248     options:
249     name: mageia-release-common
250     source_subdir: /usr/share/doc/mageia-release-common
251     grep_files: release-notes.*
252     dest_directory: .
253     unpack_inside_distribution_root: 1
254    
255 misc 1873 unpack_rpmlint_config:
256     class: Youri::Submit::Action::Unpack
257     options:
258     name: rpmlint-mageia-policy
259     source_subdir: /usr/share/rpmlint/config.d/
260     grep_files: distribution.*
261 misc 1874 dest_directory: /etc/rpmlint/extracted.d/
262 misc 1873 unpack_inside_distribution_root: 0
263    
264 pterjan 1229 mail:
265     class: Youri::Submit::Action::Mail
266     options:
267     mta: /usr/sbin/sendmail
268 pterjan 1231 to: changelog@ml.<%= domain %>
269     reply_to: mageia-dev@<%= domain %>
270     from: buildsystem-daemon@<%= domain %>
271 pterjan 1232 prefix: RPM
272 pterjan 1229
273 boklm 1384 maintdb:
274 boklm 1389 class: Youri::Submit::Action::UpdateMaintDb
275 boklm 1384 options:
276     maintdb_url: <%= maintdb_url %>
277     maintdb_key: <%= maintdb_key %>
278    
279 blino 723 posts:
280 blino 720 genhdlist2:
281     class: Youri::Submit::Post::Genhdlist2
282     options:
283     command: /usr/bin/genhdlist2
284 blino 1399 clean_rpmsrate:
285     class: Youri::Submit::Post::CleanRpmsrate
286 pterjan 1068 mirror:
287     class: Youri::Submit::Post::Mirror
288     options:
289     destination: /distrib/mirror/distrib
290 pterjan 719
291 pterjan 682 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30