mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00

Add more more workers to test more realistic setups. The first one is still added as a Debian builder, additional ones are used as generic ones, allowing to test worker selection. Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 lines
670 B
YAML
41 lines
670 B
YAML
# Expose buildbot on http://localhost:8010/
|
|
|
|
---
|
|
|
|
x-base-service: &base-service
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
volumes:
|
|
- sharedrepo:/sharedrepo
|
|
- publish:/publish
|
|
- mirror:/home/pokybuild/git/mirror
|
|
- srvautobuilder:/srv/autobuilder
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
services:
|
|
controller:
|
|
<<: *base-service
|
|
ports:
|
|
- 8010:8010
|
|
cpus: 4
|
|
worker: &base-worker
|
|
<<: *base-service
|
|
cpus: 8
|
|
mem_limit: 16gb
|
|
extraworker:
|
|
<<: *base-worker
|
|
cpus: 1
|
|
mem_limit: 2gb
|
|
deploy:
|
|
replicas: 8
|
|
profiles:
|
|
- manyworkers
|
|
|
|
volumes:
|
|
sharedrepo:
|
|
publish:
|
|
mirror:
|
|
srvautobuilder:
|