mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00

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>
24 lines
917 B
Markdown
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.
|