buildbot-scripts/docker/bionic/entrypoint.sh

11 lines
302 B
Bash
Raw Normal View History

#!/bin/bash
[ -d /var/lib/buildbot/workers ] || mkdir /var/lib/buildbot/workers
2024-03-03 19:07:27 +01:00
buildbot-worker create-worker --use-tls /var/lib/buildbot/workers/default "$1" "$2" "$3"
2024-03-03 14:37:48 +01:00
unset BUILDMASTER WORKERNAME WORKERPASS
cd /var/lib/buildbot/workers/default
/usr/bin/dumb-init buildbot-worker start --nodaemon