buildbot-scripts/docker/xenial/entrypoint.sh

10 lines
228 B
Bash
Executable File

#!/bin/bash
buildslave create-slave /var/lib/buildbot/slaves/default "$1" "$2" "$3"
unset BUILDMASTER BUILDMASTER_PORT WORKERNAME WORKERPASS
cd /var/lib/buildbot/slaves/default
/usr/bin/dumb-init buildslave start --nodaemon