mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-04 20:54:48 +02:00

Initial prototype of using yocto-autobuilder-helper scripts from vanilla buildbot to replicate yocto-autobuilder configuration. * README.md is updated to describe goals and approach * TODO contains known issues and work items, TODO: comments in the code point to specific locations of work Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
46 lines
1.3 KiB
Python
46 lines
1.3 KiB
Python
# -*- python -*-
|
|
# ex: set filetype=python:
|
|
|
|
from buildbot.plugins import *
|
|
from yoctoab import builders, schedulers, workers, services, www
|
|
|
|
import imp
|
|
|
|
|
|
# supports re-loading configuration with buildbot sighup, meaning we can change
|
|
# configuration without having to restart buildbot.
|
|
# Note: code modules (in lib/, steps/ and reporters/) are not reloaded with a
|
|
# buildbot sighup
|
|
imp.reload(config)
|
|
imp.reload(builders)
|
|
imp.reload(schedulers)
|
|
imp.reload(workers)
|
|
imp.reload(services)
|
|
imp.reload(www)
|
|
|
|
c = BuildmasterConfig = {}
|
|
|
|
# Disable usage reporting
|
|
c['buildbotNetUsageData'] = None
|
|
c['protocols'] = {'pb': {'port': 9989}}
|
|
c['db'] = {'db_url' : "sqlite:///state.sqlite",}
|
|
|
|
# Yocto Autobuilder doesn't have a change source, all builds
|
|
# are manually triggered
|
|
c['change_source'] = []
|
|
|
|
# Items which are common to Yocto Project autobuilder deployments using the
|
|
# yocto-autobuilder-helper scripts
|
|
c['schedulers'] = schedulers.schedulers
|
|
c['builders'] = builders.builders
|
|
c['services'] = services.services
|
|
c['www'] = www.www
|
|
|
|
# These items are specific to an individual AB deployment
|
|
c['workers'] = workers.workers
|
|
|
|
c['title'] = "Yocto Autobuilder"
|
|
c['titleURL'] = "https://autobuilder.yoctoproject.org/main/"
|
|
# visible location for internal web server
|
|
c['buildbotURL'] = "https://autobuilder.yoctoproject.org/main/"
|