/[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 2477 - (show annotations) (download)
Fri Mar 9 14:15:39 2012 UTC (12 years, 1 month ago) by misc
Original Path: puppet/modules/buildsystem/templates/submit-todo.conf
File size: 4747 byte(s)
really enforce freeze
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 1:
18 arch: i586 x86_64
19 infra_1:
20 arch: i586 x86_64
21 cauldron:
22 arch: i586 x86_64
23
24 # targets definition
25 targets:
26 cauldron:
27 checks:
28 - source
29 - deps
30 - version
31 #- svn
32 - tag
33 - acl
34 - host
35 #- section
36 - rpmlint
37 - recency
38 #- history
39 - queue_recency
40 actions:
41 - send
42 - rpminfo
43
44 1:
45 checks:
46 - source
47 - version
48 #- svn
49 - tag
50 - acl
51 - host
52 #- section
53 - rpmlint
54 - recency
55 #- history
56 - queue_recency
57 actions:
58 - send
59 - rpminfo
60 - ulri
61
62 infra_1:
63 checks:
64 - source
65 - version
66 - tag
67 - acl
68 - rpmlint
69 - recency
70 - queue_recency
71 actions:
72 - send
73 - rpminfo
74 - ulri
75
76 # checks definition
77 checks:
78 tag:
79 class: Youri::Submit::Check::Tag
80 options:
81 tags:
82 release: 'mga\d+'
83 # packager: '<\S+@<%= escaped_domain %>>$'
84 distribution: '^Mageia'
85 vendor: '^Mageia.Org$'
86
87 recency:
88 class: Youri::Submit::Check::Recency
89
90 queue_recency:
91 class: Youri::Submit::Check::Queue_recency
92
93 host:
94 class: Youri::Submit::Check::Host
95 options:
96 host_file: /etc/youri/host.conf
97
98 section:
99 class: Youri::Submit::Check::Section
100
101 rpmlint:
102 class: Youri::Submit::Check::Rpmlint
103 options:
104 config: /etc/rpmlint/config
105 results:
106 - buildprereq-use
107 - no-description-tag
108 - no-summary-tag
109 - non-standard-group
110 - non-xdg-migrated-menu
111 # it breaks dbus
112 #- patch-not-applied
113 - percent-in-conflicts
114 - percent-in-dependency
115 - percent-in-obsoletes
116 - percent-in-provides
117 - summary-ended-with-dot
118 - invalid-spec-name
119 - noarch-python-in-64bit-path
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: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$
145 authorized_arches: none
146 mode: freeze
147
148 cauldron:
149 # authorized_sections: ^[a-z]+/(release|updates_testing)$
150 authorized_sections: ^[a-z]+/(updates_testing)$
151 # authorized_arches: .*
152 # * Version freeze / Full Freeze
153 # authorized_packages: ^$
154 authorized_users: ^<%= scope.function_group_members(['mga-release_managers']).join('|') %>$
155 # mode: normal
156 mode: version_freeze
157 # mode: freeze
158
159 deps:
160 class: Youri::Submit::Check::Deps
161
162 # actions definitions
163 actions:
164 send:
165 class: Youri::Submit::Action::Send
166 options:
167 user: <%= sched_login %>
168 keep_svn_release: yes
169 uphost: pkgsubmit.<%= domain %>
170 root: ${home}/uploads
171 ssh_key: ${home}/.ssh/id_rsa
172
173 rpminfo:
174 class: Youri::Submit::Action::Rpminfo
175 options:
176 user: <%= sched_login %>
177 uphost: pkgsubmit.<%= domain %>
178 root: ${home}/uploads
179 ssh_key: ${home}/.ssh/id_rsa
180
181 ulri:
182 class: Youri::Submit::Action::Ulri
183 options:
184 user: <%= sched_login %>
185 uphost: pkgsubmit.<%= domain %>
186 ssh_key: ${home}/.ssh/id_rsa
187
188 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30