/[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 2475 - (show annotations) (download)
Wed Mar 7 21:10:19 2012 UTC (12 years, 1 month ago) by misc
Original Path: puppet/modules/buildsystem/templates/submit-todo.conf
File size: 4683 byte(s)
add needed config for version freeze ( ready to be uncommented )
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_arches: .*
151 # * Version freeze / Full Freeze
152 # authorized_packages: ^$
153 # authorized_users: ^<%= scope.function_group_members(['mga-release_managers']).join('|') %>$
154 mode: normal
155 # mode: version_freeze
156 # mode: freeze
157
158 deps:
159 class: Youri::Submit::Check::Deps
160
161 # actions definitions
162 actions:
163 send:
164 class: Youri::Submit::Action::Send
165 options:
166 user: <%= sched_login %>
167 keep_svn_release: yes
168 uphost: pkgsubmit.<%= domain %>
169 root: ${home}/uploads
170 ssh_key: ${home}/.ssh/id_rsa
171
172 rpminfo:
173 class: Youri::Submit::Action::Rpminfo
174 options:
175 user: <%= sched_login %>
176 uphost: pkgsubmit.<%= domain %>
177 root: ${home}/uploads
178 ssh_key: ${home}/.ssh/id_rsa
179
180 ulri:
181 class: Youri::Submit::Action::Ulri
182 options:
183 user: <%= sched_login %>
184 uphost: pkgsubmit.<%= domain %>
185 ssh_key: ${home}/.ssh/id_rsa
186
187 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30