builders.py: Fix invalid option

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2018-08-30 14:55:17 +01:00
parent aed82199a1
commit 85cd275481
3 changed files with 10 additions and 10 deletions

View File

@ -13,8 +13,8 @@ builders = []
# Environment to pass into the workers, e.g. to load further local configuration # Environment to pass into the workers, e.g. to load further local configuration
# fragments # fragments
extra_env = {} #extra_env = {}
#extra_env = {"ABHELPER_JSON" : "config.json /home/pokybuild/config-local.json"} extra_env = {"ABHELPER_JSON" : "config.json /home/pokybuild/config-local.json"}
@util.renderer @util.renderer
def get_sstate_release_number(props): def get_sstate_release_number(props):
@ -137,7 +137,7 @@ def create_builder_factory():
haltOnFailure=True, haltOnFailure=True,
name="Clobber build dir")) name="Clobber build dir"))
f.addStep(steps.Git( f.addStep(steps.Git(
repourl='git://git.yoctoproject.org/yocto-autobuilder-helper', repourl='file:///home/pokybuild/yocto-autobuilder-helper',
workdir=util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper"), workdir=util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper"),
mode='incremental', mode='incremental',
haltOnFailure=True, haltOnFailure=True,

View File

@ -59,8 +59,8 @@ releases = ["", "sumo", "rocko", "pyro", "morty"]
# ## Cluster configuration # ## Cluster configuration
# Publishing settings # Publishing settings
sharedrepodir = "/srv/www/vhosts/repos.yoctoproject.org" sharedrepodir = "/home/pokybuild/shareddir/repos.yoctoproject.org"
publish_dest = "/srv/www/vhosts/autobuilder.yoctoproject.org/pub" publish_dest = "/home/pokybuild/shareddir/pub"
# Web UI settings # Web UI settings
web_port = 8010 web_port = 8010
@ -71,12 +71,12 @@ workers = ["example-worker"]
# Worker configuration, all workers configured the same... # Worker configuration, all workers configured the same...
# TODO: support per-worker config # TODO: support per-worker config
worker_password = "pass" worker_password = "pass"
worker_max_builds = None worker_max_builds = 3
notify_on_missing = None notify_on_missing = None
# Some builders should only run on specific workers (host OS dependent) # Some builders should only run on specific workers (host OS dependent)
builder_to_workers = { builder_to_workers = {
"nightly-rpm-non-rpm": [], "nightly-rpm-non-rpm": ["example-worker"],
"nightly-deb-non-deb": [], "nightly-deb-non-deb": ["example-worker"],
"default": workers "default": workers
} }

View File

@ -77,6 +77,6 @@ c['www'] = www.www
c['workers'] = workers.workers c['workers'] = workers.workers
c['title'] = "Yocto Autobuilder" c['title'] = "Yocto Autobuilder"
c['titleURL'] = "https://autobuilder.yoctoproject.org/main/" c['titleURL'] = "http://192.168.1.69:8010/"
# visible location for internal web server # visible location for internal web server
c['buildbotURL'] = "https://autobuilder.yoctoproject.org/main/" c['buildbotURL'] = "http://192.168.1.69:8010/"