/[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 2083 - (show annotations) (download)
Mon Nov 7 12:06:55 2011 UTC (12 years, 5 months ago) by misc
Original Path: puppet/modules/buildsystem/templates/submit-todo.conf
File size: 4272 byte(s)
partially fix #1456, by blocking upload from noarch with file in /usr/lib64/
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 cauldron:
20 arch: i586 x86_64
21
22 # targets definition
23 targets:
24 cauldron:
25 checks:
26 - source
27 - deps
28 - version
29 #- svn
30 - tag
31 - acl
32 - host
33 #- section
34 - rpmlint
35 - recency
36 #- history
37 - queue_recency
38 actions:
39 - send
40 - rpminfo
41
42 1:
43 checks:
44 - source
45 - version
46 #- svn
47 - tag
48 - acl
49 - host
50 #- section
51 - rpmlint
52 - recency
53 #- history
54 - queue_recency
55 actions:
56 - send
57 - rpminfo
58
59 # checks definition
60 checks:
61 tag:
62 class: Youri::Submit::Check::Tag
63 options:
64 tags:
65 release: 'mga\d+'
66 # packager: '<\S+@<%= escaped_domain %>>$'
67 distribution: '^Mageia'
68 vendor: '^Mageia.Org$'
69
70 recency:
71 class: Youri::Submit::Check::Recency
72
73 queue_recency:
74 class: Youri::Submit::Check::Queue_recency
75
76 host:
77 class: Youri::Submit::Check::Host
78 options:
79 host_file: /etc/youri/host.conf
80
81 section:
82 class: Youri::Submit::Check::Section
83
84 rpmlint:
85 class: Youri::Submit::Check::Rpmlint
86 options:
87 config: /etc/rpmlint/config
88 results:
89 - buildprereq-use
90 - no-description-tag
91 - no-summary-tag
92 - non-standard-group
93 - non-xdg-migrated-menu
94 # it breaks dbus
95 #- patch-not-applied
96 - percent-in-conflicts
97 - percent-in-dependency
98 - percent-in-obsoletes
99 - percent-in-provides
100 - summary-ended-with-dot
101 - invalid-spec-name
102 - noarch-python-in-64bit-path
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: ^(core|nonfree|tainted)/(updates_testing|backports|backports_testing)$
128 authorized_arches: none
129 mode: freeze
130
131 cauldron:
132 # * No freeze
133 authorized_sections: ^[a-z]+/(release|updates_testing)$
134 authorized_arches: .*
135 mode: normal
136 # * Version freeze / Full Freeze
137 # authorized_packages: ^$
138 # authorized_sections: ^(core|nonfree|tainted)/updates_testing$
139 # authorized_arches: ^$
140 # authorized_users: ^blino|ennael|misc|boklm|pterjan|stewb|tmb|saispo$
141 # mode: version_freeze
142 # mode: freeze
143
144 deps:
145 class: Youri::Submit::Check::Deps
146
147 # actions definitions
148 actions:
149 send:
150 class: Youri::Submit::Action::Send
151 options:
152 user: <%= sched_login %>
153 keep_svn_release: yes
154 uphost: pkgsubmit.<%= domain %>
155 root: ${home}/uploads
156 ssh_key: ${home}/.ssh/id_rsa
157
158 rpminfo:
159 class: Youri::Submit::Action::Rpminfo
160 options:
161 user: <%= sched_login %>
162 uphost: pkgsubmit.<%= domain %>
163 root: ${home}/uploads
164 ssh_key: ${home}/.ssh/id_rsa
165
166 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30