Verified Commit e339b785 authored by Jelmer Vernooij's avatar Jelmer Vernooij Committed by Mattia Rizzolo
Browse files

Use bundled wrapper script for pull worker rather than duplicating logic in janitor_worker.

MR: !85


Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 34886eb4
...@@ -4,11 +4,9 @@ set -e ...@@ -4,11 +4,9 @@ set -e
WORKSPACE=/srv/janitor/debian-janitor WORKSPACE=/srv/janitor/debian-janitor
export BRZ_PLUGINS_AT=debian@$WORKSPACE/breezy-debian
export PYTHONPATH=$WORKSPACE:$WORKSPACE/breezy:$WORKSPACE/silver-platter:$WORKSPACE/lintian-brush:$WORKSPACE/dulwich:$WORKSPACE/python-debian/lib:$WORKSPACE/debmutate:$WORKSPACE/ognibuild:$WORkSPACE/upstream-ontologist:$WORKSPACE/buildlog-consultant
export SBUILD_CONFIG=/srv/janitor/sbuildrc export SBUILD_CONFIG=/srv/janitor/sbuildrc
export AUTOPKGTEST=$WORKSPACE/autopkgtest-wrapper
python3 -m janitor.pull_worker \ $WORKSPACE/pull_worker.sh \
--base-url=https://janitor.debian.net/api/ \ --base-url=https://janitor.debian.net/api/ \
--build-command="sbuild -A -v -c unstable-amd64-sbuild" \ --build-command="sbuild -A -v -c unstable-amd64-sbuild" \
--credentials=/srv/janitor/janitor.creds.json --credentials=/srv/janitor/janitor.creds.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment