janitor_worker.sh 438 Bytes
Newer Older
Jelmer Vernooij's avatar
Jelmer Vernooij committed
1
2
3
4
5
6
#!/bin/bash

set -e

WORKSPACE=/srv/janitor/debian-janitor

7
export SBUILD_CONFIG=/srv/janitor/sbuildrc
8

9
10
export TMPDIR=/srv/janitor/tmp

11
export PATH=$WORKSPACE/breezy-debian/scripts:$WORKSPACE/debmutate/scripts:$WORKSPACE/lintian-brush/scripts:$WORKSPACE/breezy:$PATH
12

13
14
15
# Limit memory to 20GB
ulimit -v 20000000

16
$WORKSPACE/pull_worker.sh \
Jelmer Vernooij's avatar
Jelmer Vernooij committed
17
18
    --base-url=https://janitor.debian.net/api/ \
    --credentials=/srv/janitor/janitor.creds.json