/[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 1220 - (show annotations) (download)
Sat Feb 26 22:05:37 2011 UTC (13 years, 2 months ago) by pterjan
Original Path: puppet/modules/buildsystem/templates/submit-upload.conf
File size: 4869 byte(s)
Archive old packages
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 archive_root: ${home}/old/
14 upload_state: queue
15 queue: queue
16 noarch: i586
17 svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
18 1:
19 arch: i586 x86_64
20 cauldron:
21 arch: i586 x86_64
22
23 # targets definition
24 targets:
25 cauldron:
26 checks:
27 - version
28 - tag
29 - acl
30 - rpmlint
31 - recency
32 actions:
33 - markrelease
34 - sign
35 - install
36 - link
37 # - mail
38 # - archive
39 - clean
40 posts:
41 - genhdlist2
42 - mirror
43
44 1:
45 checks:
46 - version
47 - tag
48 - acl
49 - rpmlint
50 - recency
51 - queue_recency
52 actions:
53 - markrelease
54 - sign
55 - install
56 - link
57 # - mail
58 - archive
59 posts:
60 - genhdlist2
61
62 # checks definition
63 checks:
64 tag:
65 class: Youri::Submit::Check::Tag
66 options:
67 tags:
68 release: 'mga\d+'
69 # packager: '<\S+@<%= escaped_domain %>>$'
70 distribution: '^Mageia'
71 vendor: '^Mageia.Org$'
72
73 recency:
74 class: Youri::Submit::Check::Recency
75
76 queue_recency:
77 class: Youri::Submit::Check::Queue_recency
78
79 host:
80 class: Youri::Submit::Check::Host
81 options:
82 host_file: /etc/youri/host.conf
83
84 section:
85 class: Youri::Submit::Check::Section
86
87 rpmlint:
88 class: Youri::Submit::Check::Rpmlint
89 options:
90 config: /etc/rpmlint/config
91 results:
92 - buildprereq-use
93 - no-description-tag
94 - no-summary-tag
95 - non-standard-group
96 - non-xdg-migrated-menu
97 # it breaks dbus
98 #- patch-not-applied
99 - percent-in-conflicts
100 - percent-in-dependency
101 - percent-in-obsoletes
102 - percent-in-provides
103 - summary-ended-with-dot
104
105 svn:
106 class: Youri::Submit::Check::SVN
107
108 acl:
109 class: Youri::Submit::Check::ACL
110 options:
111 acl_file: /etc/youri/acl.conf
112
113 history:
114 class: Youri::Submit::Check::History
115
116 source:
117 class: Youri::Submit::Check::Source
118
119 precedence:
120 class: Youri::Submit::Check::Precedence
121 options:
122 target: cauldron
123
124 version:
125 class: Youri::Submit::Check::Version
126 options:
127 1:
128 authorized_packages: none_package_authorized
129 authorized_sections: ^[a-z]+/(updates|updates_testing|backports|backports_testing)$
130 authorized_arches: none
131 mode: freeze
132
133 cauldron:
134 # <mrl> Prior freeze
135 authorized_sections: ^[a-z]+/(release|updates_testing)$
136 authorized_arches: .*
137 mode: normal
138 ## <blino> Version freeze
139 # authorized_packages: ^$
140 # authorized_sections: ^[a-z]+/updates_testing$
141 # authorized_arches: ^$
142 # authorized_users: ^blino|ennael|nvigier$
143 # mode: version_freeze
144 # <mrl> Freeze config
145 # authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
146 # authorized_packages: none_package_authorized
147 # authorized_sections: ^restricted/release|main/updates_testing|contrib/updates_testing$
148 # authorized_arches: none
149 # authorized_users: ^blino|ennael|nvigier$
150 # mode: freeze
151
152 # actions definitions
153 actions:
154 install:
155 class: Youri::Submit::Action::Install
156
157 markrelease:
158 class: Youri::Submit::Action::Markrelease
159
160 link:
161 class: Youri::Submit::Action::Link
162
163 archive:
164 class: Youri::Submit::Action::Archive
165
166 clean:
167 class: Youri::Submit::Action::Clean
168
169 sign:
170 class: Youri::Submit::Action::Sign
171 options:
172 signuser: <%= sign_login %>
173 path: <%= sign_keydir %>
174 name: <%= sign_keyid %>
175 signscript: /usr/local/bin/sign-check-package
176
177 posts:
178 genhdlist2:
179 class: Youri::Submit::Post::Genhdlist2
180 options:
181 command: /usr/bin/genhdlist2
182 mirror:
183 class: Youri::Submit::Post::Mirror
184 options:
185 destination: /distrib/mirror/distrib
186
187 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30