xref: /llvm-project/libc/utils/buildbot/run.sh (revision f60686f35cc89504f3411f49cf16a651a74be6eb)
1#!/bin/bash
2
3# This serves as the entrypoint for docker to allow us to
4# run and start the buildbot while supplying the password
5# 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.log
11