aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/upload.conf
blob: 66405f99bbbc265bfe6458ec68fbe6fd3ec97d47 (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
72
73
74
75
###
#
# 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(ecosse0 jonund0 ecosse1 jonund1) ],
   #x86_64 => [ qw(jonund0 ecosse0 jonund1 ecosse1) ],
   #i586 => [ qw(jonund0 jonund1) ],
   #x86_64 => [ qw(jonund0 jonund1) ],
   i586 => [ qw(jonund0 ecosse0 jonund1) ],
   x86_64 => [ qw(jonund0 ecosse0 jonund1) ],
);
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 --rpmmacros \"%distro_section __SECTION__\" --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/updates_testing" => [ "core/updates_testing", "core/updates", "core/release" ],
		"core/backports" => [ "core/backports", "core/updates_testing", "core/updates", "core/release" ],
		"core/backports_testing" => [ "core/backports_testing", "core/backports", "core/updates_testing", "core/updates", "core/release" ],
		"nonfree/release" => [ "core/release", "nonfree/release" ],
		"nonfree/updates" => [ "core/updates", "core/release", "nonfree/release", "nonfree/updates" ],
		"nonfree/updates_testing" => [ "core/updates", "core/release", "core/updates_testing", "nonfree/release", "nonfree/updates", "nonfree/updates_testing" ],
		"nonfree/backports" => [ "core/backports", "core/updates_testing", "core/updates", "core/release",
					 "nonfree/release", "nonfree/updates", "nonfree/updates_testing", "nonfree/backports" ],
		"nonfree/backports_testing" => [ "core/backports_testing", "core/backports", "core/updates_testing", "core/updates", "core/release",
						 "nonfree/release", "nonfree/updates", "nonfree/updates_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/updates_testing" => [ "core/release", "nonfree/release", "tainted/release",
				       "core/updates", "nonfree/updates", "tainted/updates",
				       "core/updates_testing", "nonfree/updates_testing", "tainted/updates_testing" ],
		"tainted/backports" => [ "core/release", "nonfree/release", "tainted/release",
				         "core/updates", "nonfree/updates", "tainted/updates",
				         "core/updates_testing", "nonfree/updates_testing", "tainted/updates_testing",
				         "core/backports", "nonfree/backports", "tainted/backports" ],
		"tainted/backports_testing" => [ "core/release", "nonfree/release", "tainted/release",
				                 "core/updates", "nonfree/updates", "tainted/updates",
				                 "core/updates_testing", "nonfree/updates_testing", "tainted/updates_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 %>',
}