/[adm]/puppet/modules/buildsystem/templates/youri/submit-upload.conf
ViewVC logotype

Contents of /puppet/modules/buildsystem/templates/youri/submit-upload.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 683 - (show annotations) (download)
Fri Jan 7 00:22:45 2011 UTC (13 years, 3 months ago) by pterjan
Original Path: puppet/modules/buildsystem/templates/submit-queue.conf
File size: 4191 byte(s)
Templatize the file
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: queue
14 queue: queue
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 - version
27 - tag
28 - acl
29 - rpmlint
30 - recency
31 - queue_recency
32 actions:
33 # - sign
34 - install
35 - link
36 # - mail
37 # - archive
38 - clean
39
40 1.0:
41 checks:
42 - version
43 - tag
44 - acl
45 - rpmlint
46 - recency
47 - queue_recency
48 actions:
49 # - sign
50 - install
51 - link
52 # - mail
53 # - archive
54 - clean
55
56 # checks definition
57 checks:
58 tag:
59 class: Youri::Submit::Check::Tag
60 options:
61 tags:
62 release: 'mga\d+'
63 # packager: '<\S+@<%= escaped_domain %>>$'
64 distribution: '^Mageia'
65 vendor: '^Mageia.org$'
66
67 recency:
68 class: Youri::Submit::Check::Recency
69
70 queue_recency:
71 class: Youri::Submit::Check::Queue_recency
72
73 host:
74 class: Youri::Submit::Check::Host
75 options:
76 host_file: /etc/youri/host.conf
77
78 section:
79 class: Youri::Submit::Check::Section
80
81 rpmlint:
82 class: Youri::Submit::Check::Rpmlint
83 options:
84 config: /etc/rpmlint/config
85 results:
86 - buildprereq-use
87 - no-description-tag
88 - no-summary-tag
89 - non-standard-group
90 - non-xdg-migrated-menu
91 # it breaks dbus
92 #- patch-not-applied
93 - percent-in-conflicts
94 - percent-in-dependency
95 - percent-in-obsoletes
96 - percent-in-provides
97 - summary-ended-with-dot
98
99 svn:
100 class: Youri::Submit::Check::SVN
101
102 acl:
103 class: Youri::Submit::Check::ACL
104 options:
105 acl_file: /etc/youri/acl.conf
106
107 history:
108 class: Youri::Submit::Check::History
109
110 source:
111 class: Youri::Submit::Check::Source
112
113 precedence:
114 class: Youri::Submit::Check::Precedence
115 options:
116 target: cauldron
117
118 version:
119 class: Youri::Submit::Check::Version
120 options:
121 1.0:
122 authorized_packages: none_package_authorized
123 authorized_sections: ^[a-z]+/(updates|testing|backports|backports_testing)$
124 authorized_arches: none
125 mode: freeze
126
127 cauldron:
128 # <mrl> Prior freeze
129 authorized_sections: ^[a-z]+/(release|testing)$
130 authorized_arches: .*
131 mode: normal
132 ## <blino> Version freeze
133 # authorized_packages: ^$
134 # authorized_sections: ^main/testing|contrib/testing$
135 # authorized_arches: ^$
136 # authorized_users: ^blino|ennael|nvigier$
137 # mode: version_freeze
138 # <mrl> Freeze config
139 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
140 # authorized_packages: none_package_authorized
141 # authorized_sections: ^restricted/release|main/testing|contrib/testing$
142 # authorized_arches: none
143 # authorized_users: ^blino|ennael|nvigier$
144 # mode: freeze
145
146 # actions definitions
147 actions:
148 install:
149 class: Youri::Submit::Action::Install
150
151 markrelease:
152 class: Youri::Upload::Action::Markrelease
153
154 link:
155 class: Youri::Upload::Action::Link
156
157 archive:
158 class: Youri::Upload::Action::Archive
159
160 clean:
161 class: Youri::Upload::Action::Clean
162
163 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30