mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
Local Settings
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8245de5e6e
commit
55ee7f81e3
|
@ -16,9 +16,10 @@ 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 = {}
|
||||||
if os.environ.get('ABHELPER_JSON'):
|
#if os.environ.get('ABHELPER_JSON'):
|
||||||
extra_env['ABHELPER_JSON'] = os.environ['ABHELPER_JSON']
|
# extra_env['ABHELPER_JSON'] = os.environ['ABHELPER_JSON']
|
||||||
|
extra_env = {"ABHELPER_JSON" : "config.json /home/pokybuild/config-local.json"}
|
||||||
|
|
||||||
@util.renderer
|
@util.renderer
|
||||||
def ensure_props_set(props):
|
def ensure_props_set(props):
|
||||||
|
|
53
config.py
53
config.py
|
@ -25,7 +25,7 @@ buildertorepos = {
|
||||||
# user customisable
|
# user customisable
|
||||||
repos = {
|
repos = {
|
||||||
"yocto-autobuilder-helper":
|
"yocto-autobuilder-helper":
|
||||||
["git://git.yoctoproject.org/yocto-autobuilder-helper",
|
["file:///home/pokybuild/yocto-autobuilder-helper",
|
||||||
"master"],
|
"master"],
|
||||||
"eclipse-poky-neon": ["git://git.yoctoproject.org/eclipse-yocto",
|
"eclipse-poky-neon": ["git://git.yoctoproject.org/eclipse-yocto",
|
||||||
"neon-master"],
|
"neon-master"],
|
||||||
|
@ -98,10 +98,16 @@ builders_others = [
|
||||||
subbuilders = list(set(trigger_builders_wait_quick + trigger_builders_wait_full + trigger_builders_wait_perf + builders_others))
|
subbuilders = list(set(trigger_builders_wait_quick + trigger_builders_wait_full + trigger_builders_wait_perf + builders_others))
|
||||||
builders = ["a-quick", "a-full", "docs"] + subbuilders
|
builders = ["a-quick", "a-full", "docs"] + subbuilders
|
||||||
|
|
||||||
|
trigger_builders_wait2 = [
|
||||||
|
"buildtools",
|
||||||
|
"poky-tiny",
|
||||||
|
"nightly-check-layer"
|
||||||
|
]
|
||||||
|
|
||||||
# ## Cluster configuration
|
# ## Cluster configuration
|
||||||
# Publishing settings
|
# Publishing settings
|
||||||
sharedrepodir = "/srv/autobuilder/repos"
|
sharedrepodir = "/home/pokybuild/sharedrepos/"
|
||||||
publish_dest = "/srv/autobuilder/autobuilder.yoctoproject.org/pub"
|
publish_dest = "/home/pokybuild/publishdest/"
|
||||||
|
|
||||||
# Web UI settings
|
# Web UI settings
|
||||||
web_port = 8010
|
web_port = 8010
|
||||||
|
@ -115,7 +121,7 @@ workers_opensuse = ["tumbleweed-ty-1", "tumbleweed-ty-2", "tumbleweed-ty-3", "op
|
||||||
|
|
||||||
workers = workers_ubuntu + workers_centos + workers_fedora + workers_debian + workers_opensuse
|
workers = workers_ubuntu + workers_centos + workers_fedora + workers_debian + workers_opensuse
|
||||||
|
|
||||||
workers_bringup = []
|
workers_bringup = ["fedora29-ty-1", "opensuse150-ty-1"]
|
||||||
# workers with wine on them for meta-mingw
|
# workers with wine on them for meta-mingw
|
||||||
workers_wine = ["ubuntu1804-ty-1", "ubuntu1804-ty-2", "ubuntu1804-ty-3"]
|
workers_wine = ["ubuntu1804-ty-1", "ubuntu1804-ty-2", "ubuntu1804-ty-3"]
|
||||||
workers_buildperf = ["perf-ubuntu1604", "perf-centos7"]
|
workers_buildperf = ["perf-ubuntu1604", "perf-centos7"]
|
||||||
|
@ -135,6 +141,9 @@ workers_prev_releases = {
|
||||||
"sumo" : ("centos7", "debian8", "debian9", "fedora28", "ubuntu1604", "ubuntu1804", "perf-")
|
"sumo" : ("centos7", "debian8", "debian9", "fedora28", "ubuntu1604", "ubuntu1804", "perf-")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
workers = ["example-worker"]
|
||||||
|
all_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"
|
||||||
|
@ -143,22 +152,22 @@ 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 = {
|
||||||
"bringup": workers_bringup,
|
"bringup": "example-worker",
|
||||||
"pkgman-rpm-non-rpm": workers_ubuntu + workers_debian,
|
"pkgman-rpm-non-rpm": "example-worker",
|
||||||
"pkgman-deb-non-deb": workers_fedora + workers_centos + workers_opensuse,
|
"pkgman-deb-non-deb": "example-worker",
|
||||||
"oe-selftest-ubuntu": workers_ubuntu,
|
"oe-selftest-ubuntu": "example-worker",
|
||||||
"oe-selftest-debian": workers_debian,
|
"oe-selftest-debian": "example-worker",
|
||||||
"oe-selftest-fedora": workers_fedora,
|
"oe-selftest-fedora": "example-worker",
|
||||||
"oe-selftest-opensuse": workers_opensuse,
|
"oe-selftest-opensuse": "example-worker",
|
||||||
"oe-selftest-centos": workers_centos,
|
"oe-selftest-centos": "example-worker",
|
||||||
"meta-mingw": workers_wine,
|
"meta-mingw": "example-worker",
|
||||||
"buildperf-ubuntu1604": ["perf-ubuntu1604"],
|
"buildperf-ubuntu1604": "example-worker",
|
||||||
"buildperf-centos7": ["perf-centos7"],
|
"buildperf-centos7": "example-worker",
|
||||||
"qemuarm-armhost": workers_arm,
|
"qemuarm-armhost": "example-worker",
|
||||||
"qemuarm64-ptest": workers_arm,
|
"qemuarm64-ptest": "example-worker",
|
||||||
"qemuarm64-ptest-fast": workers_arm,
|
"qemuarm64-ptest-fast": "example-worker",
|
||||||
"qemuarm64-ltp": workers_arm,
|
"qemuarm64-ltp": "example-worker",
|
||||||
"qemuarm64-armhost": workers_arm,
|
"qemuarm64-armhost": "example-worker",
|
||||||
"auh" : workers_auh,
|
"auh" : "example-worker",
|
||||||
"default": workers
|
"default": "example-worker"
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,10 +88,11 @@ c['www'] = www.www
|
||||||
# These items are specific to an individual AB deployment
|
# These items are specific to an individual AB deployment
|
||||||
c['workers'] = workers.workers
|
c['workers'] = workers.workers
|
||||||
|
|
||||||
c['title'] = "Yocto Autobuilder"
|
c['title'] = "RP Autobuilder"
|
||||||
c['titleURL'] = "https://autobuilder.yoctoproject.org/main/"
|
c['titleURL'] = "http://192.168.1.4:8010/"
|
||||||
# visible location for internal web server
|
# visible location for internal web server
|
||||||
c['buildbotURL'] = "https://autobuilder.yoctoproject.org/main/"
|
#c['buildbotURL'] = "https://autobuilder.yoctoproject.org/main/"
|
||||||
|
c['buildbotURL'] = "http://192.168.1.4:8010/"
|
||||||
|
|
||||||
# How to enable profiling
|
# How to enable profiling
|
||||||
#c['www']['plugins']['profiler'] = True
|
#c['www']['plugins']['profiler'] = True
|
||||||
|
|
14
services.py
14
services.py
|
@ -31,3 +31,17 @@ services = []
|
||||||
# "User", "password", "LogPage",
|
# "User", "password", "LogPage",
|
||||||
# "Production Cluster")
|
# "Production Cluster")
|
||||||
# )
|
# )
|
||||||
|
|
||||||
|
#from yoctoabb.reporters import wikilog
|
||||||
|
#services.append(
|
||||||
|
# wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
|
||||||
|
# "Joshua_Lock", "oJs]Krv4yo]k8zWf", "Joshua_Lock/BuildLog",
|
||||||
|
# "old cluster")
|
||||||
|
#)
|
||||||
|
|
||||||
|
#from yoctoabb.reporters import wikilog
|
||||||
|
#services.append(
|
||||||
|
# wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
|
||||||
|
# "Rpurdie", "Somepass77", "Rpurdie/TestBuildLog",
|
||||||
|
# "RP Test Cluster")
|
||||||
|
#)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user