[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Use bundled wrapper script for pull worker rather than duplicating logic in janitor_worker.

Mattia Rizzolo gitlab at salsa.debian.org
Tue Feb 16 10:14:53 GMT 2021



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
e339b785 by Jelmer Vernooij at 2021-02-16T11:14:23+01:00
Use bundled wrapper script for pull worker rather than duplicating logic in janitor_worker.

MR: https://salsa.debian.org/qa/jenkins.debian.net/-/merge_requests/85
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/janitor_worker.sh


Changes:

=====================================
bin/janitor_worker.sh
=====================================
@@ -4,11 +4,9 @@ set -e
 
 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 AUTOPKGTEST=$WORKSPACE/autopkgtest-wrapper
-python3 -m janitor.pull_worker \
+
+$WORKSPACE/pull_worker.sh \
     --base-url=https://janitor.debian.net/api/ \
     --build-command="sbuild -A -v -c unstable-amd64-sbuild" \
     --credentials=/srv/janitor/janitor.creds.json



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/e339b785f476066c4cdf2fdfb573b53363bad92a

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/e339b785f476066c4cdf2fdfb573b53363bad92a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210216/4731fb59/attachment.html>


More information about the Qa-jenkins-scm mailing list