aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/upload.conf
blob: 9531dc015835a8408c81bc7509a0c31e661db424 (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
###
#
# 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) ],
   x86_64 => [ qw(jonund) ],
);
my $repository = "http://repository.mageia.org/distrib/";
my $homedir = "/home/iurt";

{
    bot => {
        (map {
            my $arch = $_;
            $arch => {
                map {
                    my $node = $_;
                    ($node => {	       
                        iurt => {
                            user => 'iurt',
# (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 -v 6 --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 => { 
		"main/release" => [ "main/updates", "main/release" ], 
		"main/updates" => [ "main/updates", "main/release" ],
		"main/testing" => [ "main/testing", "main/updates", "main/release" ],
		"main/backports" => [ "main/backports", "main/updates", "main/release" ],
		"contrib/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ],
		"contrib/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ],
		"contrib/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing" ],
		"contrib/backports" => [ "main/backports", "main/updates", "main/release", "contrib/backports", "contrib/updates", "contrib/release" ],
		# (blino) non-free packages may require contrib packages (gcc3.3-g77 for scilab)
		"non-free/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ],
		"non-free/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ],
		"non-free/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing", "non-free/updates", "non-free/release", "non-free/testing" ],
		"non-free/backports" => [ "main/backports", "main/release", "main/updates", "contrib/backports", "contrib/updates", "contrib/release", "non-free/backports", "non-free/updates", "non-free/release" ],
	    },
      },
      admin => 'mageia-sysadm@mageia.org',
      http_queue => 'http://pkgsubmit.mageia.org/uploads',
      upload_user => 'schedbot',
}