From bd1cee60e348a8a4053e0aecb1db853e6c02f0fa Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Fri, 26 Feb 2021 10:05:41 +0100 Subject: [PATCH] fix: Don't expose sensitive data to buildbot jobs --- docker/bionic/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/bionic/entrypoint.sh b/docker/bionic/entrypoint.sh index 6d92402..0e6ee5c 100755 --- a/docker/bionic/entrypoint.sh +++ b/docker/bionic/entrypoint.sh @@ -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