#!/bin/bash set -e W=${WORKER_DIR:-/worker} MASTER=${MASTER:-192.168.3.110:9989} NAME=${WORKER_NAME:-lan-builder} if [ ! -f "$W/buildbot.tac" ]; then PASS=$(cat /run/secrets/worker_pass) buildbot-worker create-worker "$W" "$MASTER" "$NAME" "$PASS" echo "ketsuban " > "$W/info/admin" echo "LAN x64 builder: JDK21 / Android SDK 35 / wasm+native toolchains (gradle caches mounted)" > "$W/info/host" fi # No audio daemon is started: the image ships the client libraries only (see # Dockerfile.worker), so there is nothing to launch here. Previously this ran # `pulseaudio --exit-idle-time=-1 -D`; that is gone with the server package. exec buildbot-worker start --nodaemon "$W"