yocto-autobuilder2/docker
Mathieu Dubois-Briand 02661be391 builders: Add controller url in build tag
Make sure tags created on a-full/a-quick builds are unique, even across
different controller instances.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 10:40:25 +00:00
..
yocto-autobuilder2_patches builders: Add controller url in build tag 2025-02-07 10:40:25 +00:00
compose.yaml docker: Add docker file to create a local instance 2025-02-06 11:56:14 +00:00
Dockerfile docker: Add docker file to create a local instance 2025-02-06 11:56:14 +00:00
entry.sh docker: Add docker file to create a local instance 2025-02-06 11:56:14 +00:00
README.md docker: Add docker file to create a local instance 2025-02-06 11:56:14 +00:00

Local autobuilder setup docker

This docker compose configuration aims to provide a working minimal setup, allowing to test and debug the buildbot configuration.

It create two docker containers based on the same image, one acting as a buildbot controller, one acting as buildbot worker.

The buildbot configuration will be modified in several ways from the configuration used in the public autobuilders. Main changes include:

  • Only one worker will be used.
  • Git urls will be modified to use git protocol instead of ssh, removing needs for authentication.
  • All nightly schedulers will be disabled.

Usage

The local autobuilder can be started by running docker-compose up in this folder. Once the dockers are started, buildbot web interface will be exposed on http://localhost:8010/.

You might want to modify the compose.yaml file first to suit your needs, such as the cpu count and memory limits.