buildbot-scripts/docker/bionic/entrypoint.sh

11 lines
370 B
Bash
Raw Normal View History

#!/bin/bash
[ -d /var/lib/buildbot/workers ] || mkdir /var/lib/buildbot/workers
2024-03-03 18:42:59 +01:00
buildbot-worker create-worker --connection-string "TLS:$1:9989:trustRoots=/usr/local/share/ca-certificates" /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