aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/upload.conf
blob: f0ad072b6b734f893bf05b309cf23aca5bfa880c (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
###
#
# Do not disable the host without appropriate warning
# to somebody able to fix the machine
#
# Please run 'perl -cw .upload.conf' in order to check the file is OK.
#
###

my %nodes = (
   i586 => [ qw(ecosse jonund) ],
   x86_64 => [ qw(jonund ecosse) ],
);
my $repository = "http://repository.<%= domain %>/distrib/";
my $homedir = "<%= build_home_dir %>";

{
    bot => {
        (map {
            my $arch = $_;
            $arch => {
                map {
                    my $node = $_;
                    ($node => {	       
                        iurt => {
                            user => '<%= build_login %>',
# (spuk, 2007-08-16) disabled iurt_cache additional media, locks trying to mount -o bind
#                           command => "iurt --copy-srpm --group -v 6 --config local_spool $homedir/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- $repository --additional-media -m __MEDIA__ -- file://$homedir/cache/ -p \"__PACKAGER__\" -r __TARGET__ __ARCH__",
                            command => "iurt --copy_srpm --group --config local_spool $homedir/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- $repository -p \"__PACKAGER__\" -r __TARGET__ __ARCH__",
                            packages => "$homedir/iurt/",
                        },
                    });
                } @{$nodes{$arch}},
            };
        } keys %nodes),
      },
      media => { 
	    default => { 
		"core/release" => [ "core/updates", "core/release" ], 
		"core/updates" => [ "core/updates", "core/release" ],
		"core/testing" => [ "core/testing", "core/updates", "core/release" ],
		"core/backports" => [ "core/backports", "core/testing", "core/updates", "core/release" ],
		"core/backports_testing" => [ "core/backports_testing", "core/backports", "core/testing", "core/updates", "core/release" ],
		"nonfree/release" => [ "core/release", "nonfree/release" ],
		"nonfree/updates" => [ "core/updates", "core/release", "nonfree/release", "nonfree/updates" ],
		"nonfree/testing" => [ "core/updates", "core/release", "core/testing", "nonfree/release", "nonfree/updates", "nonfree/testing" ],
		"nonfree/backports" => [ "core/backports", "core/testing", "core/updates", "core/release",
					 "nonfree/release", "nonfree/updates", "nonfree/testing", "nonfree/backports" ],
		"nonfree/backports_testing" => [ "core/backports_testing", "core/backports", "core/testing", "core/updates", "core/release",
						 "nonfree/release", "nonfree/updates", "nonfree/testing", "nonfree/backports", "nonfree/backports_testing" ],
		"tainted/release" => [ "core/release", "nonfree/release", "tainted/release" ],
		"tainted/updates" => [ "core/release", "nonfree/release", "tainted/release",
				       "core/updates", "nonfree/updates", "tainted/updates" ],
		"tainted/testing" => [ "core/release", "nonfree/release", "tainted/release",
				       "core/updates", "nonfree/updates", "tainted/updates",
				       "core/testing", "nonfree/testing", "tainted/testing" ],
		"tainted/backports" => [ "core/release", "nonfree/release", "tainted/release",
				         "core/updates", "nonfree/updates", "tainted/updates",
				         "core/testing", "nonfree/testing", "tainted/testing",
				         "core/backports", "nonfree/backports", "tainted/backports" ],
		"tainted/backports_testing" => [ "core/release", "nonfree/release", "tainted/release",
				                 "core/updates", "nonfree/updates", "tainted/updates",
				                 "core/testing", "nonfree/testing", "tainted/testing",
				                 "core/backports", "nonfree/backports", "tainted/backports",
				                 "core/backports_testing", "nonfree/backports_testing", "tainted/backports_testing" ],
	    },
      },
      admin => 'pterjan@gmail.com',
      http_queue => 'http://pkgsubmit.<%= domain %>/uploads',
      upload_user => '<%= sched_login %>',
}