fix: Don't expose sensitive data to buildbot jobs

This commit is contained in:
Peter Šurda 2021-02-26 10:05:41 +01:00
parent e868f30d8a
commit bd1cee60e3
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -1,5 +1,9 @@
#!/bin/bash
buildbot-worker create-worker /var/lib/buildbot/workers/default "$1" "$2" "$3"
unset BUILDMASTER BUILDMASTER_PORT WORKERNAME WORKERPASS
cd /var/lib/buildbot/workers/default
/usr/bin/dumb-init buildbot-worker start --nodaemon