aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/iurt.conf
blob: 1cbe1074faef8672060b0f0204668ffef57b76a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<%- distro = scope.lookupvar('buildsystem::var::distros::distros')[@distribution] -%>
{
 supported_arch => [ '<%= distro['arch'].join("', '") %>' ],
 all_media =>{
<%- distro['medias'].keys.sort.each{|media| -%>
	'<%= media %>' => [ '<%= 
	    distro['medias'][media]['repos'].keys.sort.join("', '") %>' ],
<%-
} -%>
 },
 distribution => '<%= distro['macros']['distribution'] %>',
 vendor => '<%= distro['macros']['vendor'] %>',
 base_media => [ '<%= distro['base_media'].join("', '") %>' ],
 upload => '<%= build_login %>@pkgsubmit:~/uploads/',
 upload_queue => '<%= build_login %>@pkgsubmit:~/uploads/queue/',
 unwanted_packages => '^monotone-',
 repository => 'http://<%= scope.lookupvar('buildsystem::var::repository::hostname') %>/<%= scope.lookupvar('buildsystem::var::repository::distribdir') %>/',
 log_url => 'http://<%= scope.lookupvar('buildsystem::var::webstatus::hostname') %>/queue/build/',
 admin => 'mageia-sysadm@mageia.org',
 packager => 'Iurt the rebuild bot <mageia-sysadm@mageia.org>',
 sendmail => 0,
 build_timeout => {
<%- build_timeout.keys.sort.each{|package| -%>
   '<%= package %>' => <%= (build_timeout[package].to_f * scope.lookupvar('buildsystem::var::iurt::timeout_multiplier').to_f).to_i %>,
<%-
} -%>
 },
}