11 lines · bash
1#!/bin/bash2 3# This serves as the entrypoint for docker to allow us to4# run and start the buildbot while supplying the password5# as an argument.6buildbot-worker create-worker --keepalive=200 "${WORKER_NAME}" \7 lab.llvm.org:9990 "${WORKER_NAME}" "$1"8 9buildbot-worker start "${WORKER_NAME}"10tail -f ${WORKER_NAME}/twistd.log11