yocto-autobuilder2/docker/README.md
Mathieu Dubois-Briand cb639d12eb docker: Add docker file to create a local instance
Add a docker compose configuration, allowing to easily create a local
autobuilder instance.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 11:56:14 +00:00

24 lines
917 B
Markdown

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