summaryrefslogtreecommitdiff
path: root/packaging/debs/apt-repository/dupload.conf
blob: 9ceed7600025ea34d70fb75a98d5d6ee164b72e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package config;

$rabbit_user = "simon";
$rabbit_host = "mrforgetful.lshift.net";
$rabbit_repo_path = "/srv/debian";
$rabbit_reprepro_extra_args = "--ignore=wrongdistribution";

$cfg{'rabbit'} = {
        fqdn => "$rabbit_host",
        login => "$rabbit_user",
        method => "scp",
        incoming => "incoming",
};

$preupload{'deb'} = "ssh ${rabbit_host} mkdir incoming";
$postupload{'deb'} = "ssh ${rabbit_host} \"cd incoming && reprepro ${$rabbit_reprepro_extra_args} -Vb ${rabbit_repo_path} include kitten *.changes && cd .. && rm -r incoming\"";