Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Hetsh/docker-buildbot-master

Repository files navigation

Buildbot Master

Super small and easy to set up Buildbot Master.

Running the server

docker run --detach --name --publish 8010:8010/tcp --publish 9989:9989/tcp buildbot-master hetsh/buildbot-master

Stopping the container

docker stop buildbot-master

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-master ...

Configuration

Create an initial configuration file by running:

docker run ... hetsh/buildbot-master create-master

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-master.service --now

By default, the systemd service assumes /apps/buildbot/master 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.

About

Small and easy to set up Buildbot-Master inside a Docker container.

Resources

License

Stars

Watchers

Forks

Packages

No packages published