/[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 719 - (show annotations) (download)
Fri Jan 7 22:22:03 2011 UTC (13 years, 3 months ago) by pterjan
Original Path: puppet/modules/buildsystem/templates/submit-upload.conf
File size: 4379 byte(s)
Fix submit-upload.conf syntax and add markrelease and gendistrib actions
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 upload_state: queue
14 queue: queue
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 - version
27 - tag
28 - acl
29 - rpmlint
30 - recency
31 - queue_recency
32 actions:
33 - markrelease
34 # - sign
35 - install
36 - link
37 # - mail
38 # - archive
39 - clean
40 - gendistrib
41
42 1:
43 checks:
44 - version
45 - tag
46 - acl
47 - rpmlint
48 - recency
49 - queue_recency
50 actions:
51 - markrelease
52 # - sign
53 - install
54 - link
55 # - mail
56 # - archive
57 - clean
58 - gendistrib
59
60 # checks definition
61 checks:
62 tag:
63 class: Youri::Submit::Check::Tag
64 options:
65 tags:
66 release: 'mga\d+'
67 # packager: '<\S+@<%= escaped_domain %>>$'
68 distribution: '^Mageia'
69 vendor: '^Mageia.Org$'
70
71 recency:
72 class: Youri::Submit::Check::Recency
73
74 queue_recency:
75 class: Youri::Submit::Check::Queue_recency
76
77 host:
78 class: Youri::Submit::Check::Host
79 options:
80 host_file: /etc/youri/host.conf
81
82 section:
83 class: Youri::Submit::Check::Section
84
85 rpmlint:
86 class: Youri::Submit::Check::Rpmlint
87 options:
88 config: /etc/rpmlint/config
89 results:
90 - buildprereq-use
91 - no-description-tag
92 - no-summary-tag
93 - non-standard-group
94 - non-xdg-migrated-menu
95 # it breaks dbus
96 #- patch-not-applied
97 - percent-in-conflicts
98 - percent-in-dependency
99 - percent-in-obsoletes
100 - percent-in-provides
101 - summary-ended-with-dot
102
103 svn:
104 class: Youri::Submit::Check::SVN
105
106 acl:
107 class: Youri::Submit::Check::ACL
108 options:
109 acl_file: /etc/youri/acl.conf
110
111 history:
112 class: Youri::Submit::Check::History
113
114 source:
115 class: Youri::Submit::Check::Source
116
117 precedence:
118 class: Youri::Submit::Check::Precedence
119 options:
120 target: cauldron
121
122 version:
123 class: Youri::Submit::Check::Version
124 options:
125 1:
126 authorized_packages: none_package_authorized
127 authorized_sections: ^[a-z]+/(updates|testing|backports|backports_testing)$
128 authorized_arches: none
129 mode: freeze
130
131 cauldron:
132 # <mrl> Prior freeze
133 authorized_sections: ^[a-z]+/(release|testing)$
134 authorized_arches: .*
135 mode: normal
136 ## <blino> Version freeze
137 # authorized_packages: ^$
138 # authorized_sections: ^main/testing|contrib/testing$
139 # authorized_arches: ^$
140 # authorized_users: ^blino|ennael|nvigier$
141 # mode: version_freeze
142 # <mrl> Freeze config
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/testing|contrib/testing$
146 # authorized_arches: none
147 # authorized_users: ^blino|ennael|nvigier$
148 # mode: freeze
149
150 # actions definitions
151 actions:
152 install:
153 class: Youri::Submit::Action::Install
154
155 markrelease:
156 class: Youri::Upload::Action::Markrelease
157
158 link:
159 class: Youri::Upload::Action::Link
160
161 archive:
162 class: Youri::Upload::Action::Archive
163
164 clean:
165 class: Youri::Upload::Action::Clean
166
167 gendistrib:
168 class: Youri::Submit::Post::Gendistrib
169
170 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30