/[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 664 - (show annotations) (download)
Wed Jan 5 23:42:16 2011 UTC (13 years, 3 months ago) by misc
Original Path: puppet/modules/buildsystem/templates/submit-todo.conf
File size: 4544 byte(s)
- do not check for mnb ( as this correspond to manbo, and so do not
make sense for us )

1 <%
2 escaped_domain = domain.gsub('.','\.')
3 %>
4
5 home: <%= sched_home_dir %>
6
7 # repository declaration
8 repository:
9 class: Youri::Repository::Mandriva_upload
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.0:
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 - version
28 #- svn
29 - tag
30 - acl
31 - host
32 - section
33 - rpmlint
34 - recency
35 #- history
36 - queue_recency
37 actions:
38 - send
39 - rpminfo
40
41 1.0:
42 checks:
43 - source
44 - version
45 #- svn
46 - tag
47 - acl
48 - host
49 - section
50 - rpmlint
51 - recency
52 #- history
53 - queue_recency
54 actions:
55 - send
56 - rpminfo
57
58 # checks definition
59 checks:
60 tag:
61 class: Youri::Submit::Check::Tag
62 options:
63 tags:
64 release: 'mga\d+'
65 packager: '<\S+@<%= escaped_domain %>>$'
66 distribution: '^Mageia'
67 vendor: '^Mageia.Org$'
68
69 recency:
70 class: Youri::Submit::Check::Recency
71
72 queue_recency:
73 class: Youri::Submit::Check::Queue_recency
74
75 host:
76 class: Youri::Submit::Check::Host
77 options:
78 host_file: /etc/youri/host.conf
79
80 section:
81 class: Youri::Submit::Check::Section
82
83 rpmlint:
84 class: Youri::Submit::Check::Rpmlint
85 options:
86 config: /etc/rpmlint/config
87 results:
88 - buildprereq-use
89 - no-description-tag
90 - no-summary-tag
91 - non-standard-group
92 - non-xdg-migrated-menu
93 # it breaks dbus
94 #- patch-not-applied
95 - percent-in-conflicts
96 - percent-in-dependency
97 - percent-in-obsoletes
98 - percent-in-provides
99 - summary-ended-with-dot
100
101 svn:
102 class: Youri::Submit::Check::SVN
103
104 acl:
105 class: Youri::Submit::Check::ACL
106 options:
107 acl_file: /etc/youri/acl.conf
108
109 history:
110 class: Youri::Submit::Check::History
111
112 source:
113 class: Youri::Submit::Check::Source
114
115 precedence:
116 class: Youri::Submit::Check::Precedence
117 options:
118 target: cauldron
119
120 version:
121 class: Youri::Submit::Check::Version
122 options:
123 1.0:
124 authorized_packages: none_package_authorized
125 authorized_sections: main/testing|main/backports|contrib/testing|contrib/updates|contrib/backports|non-free/testing|non-free/updates|non-free/backports
126 authorized_arches: none
127 mode: freeze
128
129 cauldron:
130 # <mrl> Prior freeze
131 authorized_sections: ^[a-z]+/(release|testing)$
132 authorized_arches: .*
133 mode: normal
134 ## <blino> Version freeze
135 # authorized_packages: ^$
136 # authorized_sections: ^main/testing|contrib/testing$
137 # authorized_arches: ^$
138 # authorized_users: ^blino|ennael|nvigier$
139 # mode: version_freeze
140 # <mrl> Freeze config
141 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
142 # authorized_packages: none_package_authorized
143 # authorized_sections: ^restricted/release|main/testing|contrib/testing$
144 # authorized_arches: none
145 # authorized_users: ^blino|ennael|nvigier$
146 # mode: freeze
147
148 # actions definitions
149 actions:
150 send:
151 class: Youri::Submit::Action::Send
152 options:
153 user: <%= sched_login %>
154 keep_svn_release: yes
155 uphost: pkgsubmit.<%= domain %>
156 root: ${home}/uploads
157 ssh_key: ${home}/.ssh/id_rsa
158
159 rpminfo:
160 class: Youri::Submit::Action::Rpminfo
161 options:
162 user: <%= sched_login %>
163 uphost: pkgsubmit.<%= domain %>
164 root: ${home}/uploads
165 ssh_key: ${home}/.ssh/id_rsa
166
167 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30