/[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 923 - (show annotations) (download)
Sun Jan 30 11:49:08 2011 UTC (13 years, 2 months ago) by pterjan
Original Path: puppet/modules/buildsystem/templates/submit-todo.conf
File size: 4679 byte(s)
Restrict submit to myselft and disable recency check
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: 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
102 svn:
103 class: Youri::Submit::Check::SVN
104
105 acl:
106 class: Youri::Submit::Check::ACL
107 options:
108 acl_file: /etc/youri/acl.conf
109
110 history:
111 class: Youri::Submit::Check::History
112
113 source:
114 class: Youri::Submit::Check::Source
115
116 precedence:
117 class: Youri::Submit::Check::Precedence
118 options:
119 target: cauldron
120
121 version:
122 class: Youri::Submit::Check::Version
123 options:
124 1.0:
125 authorized_packages: none_package_authorized
126 authorized_sections: ^(core|nonfree|tainted)/(updates|updates_testing|backports|backports_testing)$
127 authorized_arches: none
128 mode: freeze
129
130 cauldron:
131 # <mrl> Prior freeze
132 # authorized_sections: ^[a-z]+/(release|updates_testing)$
133 authorized_sections: ^$
134 authorized_users: ^pterjan$
135 authorized_arches: none
136 mode: freeze
137 ## <blino> Version freeze
138 # authorized_packages: ^$
139 # authorized_sections: ^(core|nonfree|tainted)/updates_testing$
140 # authorized_arches: ^$
141 # authorized_users: ^blino|ennael|nvigier$
142 # mode: version_freeze
143 # <mrl> Freeze config
144 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
145 # authorized_packages: none_package_authorized
146 # authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$
147 # authorized_arches: none
148 # authorized_users: ^blino|ennael|nvigier$
149 # mode: freeze
150
151 deps:
152 class: Youri::Submit::Check::Deps
153
154 # actions definitions
155 actions:
156 send:
157 class: Youri::Submit::Action::Send
158 options:
159 user: <%= sched_login %>
160 keep_svn_release: yes
161 uphost: pkgsubmit.<%= domain %>
162 root: ${home}/uploads
163 ssh_key: ${home}/.ssh/id_rsa
164
165 rpminfo:
166 class: Youri::Submit::Action::Rpminfo
167 options:
168 user: <%= sched_login %>
169 uphost: pkgsubmit.<%= domain %>
170 root: ${home}/uploads
171 ssh_key: ${home}/.ssh/id_rsa
172
173 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30