Sign inSign up

hetsh/buildbot-worker

By hetsh

•Updated about 3 years ago

Small and easy to set up Buildbot Worker.

Image
0

5.5K

hetsh/buildbot-worker repository overview

⁠Buildbot Worker

Super small and easy to set up Buildbot Worker.

⁠Running the server

docker run --detach --name buildbot-worker hetsh/buildbot-worker

⁠Stopping the container

docker stop buildbot-worker

⁠Creating persistent storage

MP="/path/to/storage"
mkdir -p "$MP"
chown -R 1381:1381 "$MP"

1381 is the numerical id of the user running the server (see Dockerfile). Start the server with the additional mount flag:

docker run --mount type=bind,source=/path/to/storage,target=/buildbot-worker ...

⁠Configuration

Create an initial configuration file by running:

docker run ... hetsh/buildbot-worker create-worker <master:9989> <worker-name> <password>

Stick to Buildbot's documentation⁠ for further configuration.

⁠Automate startup and shutdown via systemd

The systemd unit can be found in my GitHub repository⁠.

systemctl enable buildbot-worker.service --now

By default, the systemd service assumes /apps/buildbot/worker for persistent storage and /etc/localtime for timezone. Since this is a personal systemd unit file, you might need to adjust some parameters to suit your setup.

⁠Fork Me!

This is an open project (visit GitHub⁠). Please feel free to ask questions, file an issue or contribute to it.

Tag summary

Content type

Image

Digest

sha256:c54d8b7e6…

Size

69.7 MB

Last updated

about 3 years ago

docker pull hetsh/buildbot-worker