2019-08-13 15:06:19 +02:00
|
|
|
# -*- python -*-
|
|
|
|
# ex: set filetype=python:
|
|
|
|
|
|
|
|
from buildbot.plugins import *
|
|
|
|
|
2019-09-06 16:49:06 +02:00
|
|
|
import config.workers
|
|
|
|
import config.change_sources
|
|
|
|
import config.schedulers
|
|
|
|
import config.builders.test_c
|
|
|
|
import config.builders.gpio_ftdi
|
|
|
|
import config.builders.gpio_sys
|
|
|
|
import config.builders.i2c_bb
|
|
|
|
import config.builders.ads1115
|
|
|
|
import config.builders.voltage_app
|
|
|
|
import config.builders.bicycle_statistics
|
|
|
|
|
2019-08-13 15:06:19 +02:00
|
|
|
c = BuildmasterConfig = {}
|
|
|
|
|
|
|
|
c['workers'] = []
|
2019-09-06 16:49:06 +02:00
|
|
|
c['workers'] = config.workers.append(c['workers'])
|
2019-08-13 15:06:19 +02:00
|
|
|
|
|
|
|
c['protocols'] = {'pb': {'port': 9989}}
|
|
|
|
|
|
|
|
c['change_source'] = []
|
2019-09-06 16:49:06 +02:00
|
|
|
c['change_source'] = config.change_sources.append(c['change_source'])
|
2019-08-13 15:06:19 +02:00
|
|
|
|
|
|
|
c['schedulers'] = []
|
2019-09-06 16:49:06 +02:00
|
|
|
c['schedulers'] = config.schedulers.append(c['schedulers'])
|
2019-08-13 15:06:19 +02:00
|
|
|
|
|
|
|
c['builders'] = []
|
2019-09-06 16:49:06 +02:00
|
|
|
c['builders'] = config.builders.test_c.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.gpio_ftdi.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.gpio_sys.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.i2c_bb.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.ads1115.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.voltage_app.append(c['builders'])
|
|
|
|
c['builders'] = config.builders.bicycle_statistics.append(c['builders'])
|
2019-08-13 15:06:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
####### BUILDBOT SERVICES
|
|
|
|
|
|
|
|
# 'services' is a list of BuildbotService items like reporter targets. The
|
|
|
|
# status of each build will be pushed to these targets. buildbot/reporters/*.py
|
|
|
|
# has a variety to choose from, like IRC bots.
|
|
|
|
|
|
|
|
c['services'] = []
|
|
|
|
|
|
|
|
####### PROJECT IDENTITY
|
|
|
|
|
|
|
|
# the 'title' string will appear at the top of this buildbot installation's
|
|
|
|
# home pages (linked to the 'titleURL').
|
|
|
|
|
|
|
|
c['title'] = "blackfinn CI"
|
|
|
|
c['titleURL'] = "https://build.blackfinn.de/"
|
|
|
|
|
|
|
|
# the 'buildbotURL' string should point to the location where the buildbot's
|
|
|
|
# internal web server is visible. This typically uses the port number set in
|
|
|
|
# the 'www' entry below, but with an externally-visible host name which the
|
|
|
|
# buildbot cannot figure out without some help.
|
|
|
|
|
|
|
|
c['buildbotURL'] = "https://build.blackfinn.de/"
|
|
|
|
|
|
|
|
# minimalistic config to activate new web UI
|
|
|
|
c['www'] = dict(port=8010, plugins=dict(waterfall_view={}, console_view={}, grid_view={}))
|
|
|
|
|
|
|
|
####### DB URL
|
|
|
|
|
|
|
|
c['db'] = {
|
|
|
|
# This specifies what database buildbot uses to store its state. You can leave
|
|
|
|
# this at its default for all but the largest installations.
|
|
|
|
'db_url' : "sqlite:///state.sqlite",
|
|
|
|
}
|
|
|
|
c['buildbotNetUsageData'] = None
|
|
|
|
|