2021-02-11 10:26:44 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-03-03 16:39:16 +01:00
|
|
|
[ -d /var/lib/buildbot/workers ] || mkdir /var/lib/buildbot/workers
|
2021-02-26 10:05:41 +01:00
|
|
|
|
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"
|
2021-02-26 10:05:41 +01:00
|
|
|
|
2024-03-03 14:37:48 +01:00
|
|
|
unset BUILDMASTER WORKERNAME WORKERPASS
|
2021-02-26 10:05:41 +01:00
|
|
|
|
2021-02-11 10:26:44 +01:00
|
|
|
cd /var/lib/buildbot/workers/default
|
|
|
|
/usr/bin/dumb-init buildbot-worker start --nodaemon
|