2020-03-12 08:34:32 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This serves as the entrypoint for docker to allow us to
|
|
|
|
# run and start the buildbot while supplying the password
|
|
|
|
# as an argument.
|
2020-10-09 04:43:47 +08:00
|
|
|
buildbot-worker create-worker --keepalive=200 "${WORKER_NAME}" \
|
2020-03-12 08:34:32 +08:00
|
|
|
lab.llvm.org:9990 "${WORKER_NAME}" "$1"
|
|
|
|
|
2020-10-09 04:43:47 +08:00
|
|
|
buildbot-worker start "${WORKER_NAME}"
|
2020-03-12 08:34:32 +08:00
|
|
|
tail -f ${WORKER_NAME}/twistd.log
|