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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1221 - (show annotations) (download)
Sat Feb 26 22:51:08 2011 UTC (14 years, 2 months ago) by pterjan
File size: 4848 byte(s)
Oops, archive old packages on cauldron, not only on 1
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 posts:
40 - genhdlist2
41 - mirror
42
43 1:
44 checks:
45 - version
46 - tag
47 - acl
48 - rpmlint
49 - recency
50 - queue_recency
51 actions:
52 - markrelease
53 - sign
54 - install
55 - link
56 # - mail
57 - archive
58 posts:
59 - genhdlist2
60
61 # checks definition
62 checks:
63 tag:
64 class: Youri::Submit::Check::Tag
65 options:
66 tags:
67 release: 'mga\d+'
68 # packager: '<\S+@<%= escaped_domain %>>$'
69 distribution: '^Mageia'
70 vendor: '^Mageia.Org$'
71
72 recency:
73 class: Youri::Submit::Check::Recency
74
75 queue_recency:
76 class: Youri::Submit::Check::Queue_recency
77
78 host:
79 class: Youri::Submit::Check::Host
80 options:
81 host_file: /etc/youri/host.conf
82
83 section:
84 class: Youri::Submit::Check::Section
85
86 rpmlint:
87 class: Youri::Submit::Check::Rpmlint
88 options:
89 config: /etc/rpmlint/config
90 results:
91 - buildprereq-use
92 - no-description-tag
93 - no-summary-tag
94 - non-standard-group
95 - non-xdg-migrated-menu
96 # it breaks dbus
97 #- patch-not-applied
98 - percent-in-conflicts
99 - percent-in-dependency
100 - percent-in-obsoletes
101 - percent-in-provides
102 - summary-ended-with-dot
103
104 svn:
105 class: Youri::Submit::Check::SVN
106
107 acl:
108 class: Youri::Submit::Check::ACL
109 options:
110 acl_file: /etc/youri/acl.conf
111
112 history:
113 class: Youri::Submit::Check::History
114
115 source:
116 class: Youri::Submit::Check::Source
117
118 precedence:
119 class: Youri::Submit::Check::Precedence
120 options:
121 target: cauldron
122
123 version:
124 class: Youri::Submit::Check::Version
125 options:
126 1:
127 authorized_packages: none_package_authorized
128 authorized_sections: ^[a-z]+/(updates|updates_testing|backports|backports_testing)$
129 authorized_arches: none
130 mode: freeze
131
132 cauldron:
133 # <mrl> Prior freeze
134 authorized_sections: ^[a-z]+/(release|updates_testing)$
135 authorized_arches: .*
136 mode: normal
137 ## <blino> Version freeze
138 # authorized_packages: ^$
139 # authorized_sections: ^[a-z]+/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 # actions definitions
152 actions:
153 install:
154 class: Youri::Submit::Action::Install
155
156 markrelease:
157 class: Youri::Submit::Action::Markrelease
158
159 link:
160 class: Youri::Submit::Action::Link
161
162 archive:
163 class: Youri::Submit::Action::Archive
164
165 clean:
166 class: Youri::Submit::Action::Clean
167
168 sign:
169 class: Youri::Submit::Action::Sign
170 options:
171 signuser: <%= sign_login %>
172 path: <%= sign_keydir %>
173 name: <%= sign_keyid %>
174 signscript: /usr/local/bin/sign-check-package
175
176 posts:
177 genhdlist2:
178 class: Youri::Submit::Post::Genhdlist2
179 options:
180 command: /usr/bin/genhdlist2
181 mirror:
182 class: Youri::Submit::Post::Mirror
183 options:
184 destination: /distrib/mirror/distrib
185
186 # vim:ft=yaml:et:sw=4

  ViewVC Help
Powered by ViewVC 1.1.30