/ packages / docker / buildbot-entrypoint.sh
buildbot-entrypoint.sh
1  #!/bin/bash
2  
3  
4  buildbot-worker create-worker /var/lib/buildbot/workers/default "$1" "$2" "$3"
5  
6  unset BUILDMASTER BUILDMASTER_PORT WORKERNAME WORKERPASS
7  
8  cd /var/lib/buildbot/workers/default
9  /usr/bin/dumb-init buildbot-worker start --nodaemon