Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
ca7847fd
Commit
ca7847fd
authored
May 15, 2020
by
Jelmer Vernooij
Committed by
Holger Levsen
May 17, 2020
Browse files
Add support for reading janitor credentials from a local file.
parent
485c7ebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/janitor_worker.sh
View file @
ca7847fd
...
@@ -7,5 +7,4 @@ WORKSPACE=/srv/janitor/debian-janitor
...
@@ -7,5 +7,4 @@ WORKSPACE=/srv/janitor/debian-janitor
export
PYTHONPATH
=
$WORKSPACE
:
$WORKSPACE
/breezy:
$WORKSPACE
/silver-platter:
$WORKSPACE
/lintian-brush:
$WORKSPACE
/dulwich
export
PYTHONPATH
=
$WORKSPACE
:
$WORKSPACE
/breezy:
$WORKSPACE
/silver-platter:
$WORKSPACE
/lintian-brush:
$WORKSPACE
/dulwich
export
SBUILD_CONFIG
=
$WORKSPACE
/sbuildrc
export
SBUILD_CONFIG
=
$WORKSPACE
/sbuildrc
export
AUTOPKGTEST
=
$WORKSPACE
/autopkgtest-wrapper
export
AUTOPKGTEST
=
$WORKSPACE
/autopkgtest-wrapper
# TODO(jelmer): Set $API_USERNAME / $API_PASSWORD somewhere
python3
-m
janitor.pull_worker
--base-url
=
https://janitor.debian.net/api/
--build-command
=
"sbuild -A -v -c jenkins-unstable-amd64"
--credentials
=
/srv/janitor/janitor.creds.json
python3
-m
janitor.pull_worker
--base-url
=
https://
$API_USERNAME
:
$API_PASSWORD
@janitor.debian.net/api/
--build-command
=
"sbuild -A -v -c jenkins-unstable-amd64"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment