Commit Graph

526 Commits

Author SHA1 Message Date
Joshua Lock
845aea0b5c README: note some prerequisites for deployment
The deployment instructions assume buildbot is already installed on the
target system.
Furthermore note that a copy of the yocto-autobuilder-helper is required.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-07 10:58:17 +00:00
Joshua Lock
8400719f6a TODO: clarify some items
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-07 10:58:17 +00:00
Joshua Lock
9540a56ffe builders: implement get_publish_dest()
Based on the SetDest step in the old codebase this function is used to
determine where the artefacts of a build should be published. In order to
avoid overwriting previously published content the function keeps a list of
destinations which have already been created and written to on the
controller and avoids reusing them.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-07 10:58:17 +00:00
Joshua Lock
443ed86cec builders: implement get_sstate_release_number()
Uses the values submitted to the scheduler to determtine the major number
of the release for the purposes of publishing per-major release
shared-state artefacts.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-07 10:18:04 +00:00
Richard Purdie
104cd00305 TODO: Add owners and further cleanup of done tasks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-02 15:19:20 +00:00
Richard Purdie
dcb282e3d4 TODO: Update
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-02 15:08:38 +00:00
Richard Purdie
a166f3dbe9 config.py: Name oecore as expected by the helper
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-02 00:08:49 +00:00
Richard Purdie
51ec95efae config.py: Fix nightly-wic typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-02 00:06:08 +00:00
Richard Purdie
199b4f787b config: Correct eclipse builder names
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 21:13:00 +00:00
Joshua Lock
f99af24f04 TODO: add some known items
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-01 14:19:15 +00:00
Joshua Lock
614c5ccd19 config: update for moved Eclipse repositories
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-01 09:54:45 +00:00
Joshua Lock
0e0fba1754 builders: fix clobber step for nightly builder
Copy/paste error resulted in incorrect factory variable name.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-03-01 09:51:11 +00:00
Joshua Lock
7fabb26b63 builders: use yocto-autobuilder-helper's clobberdir script
Removing the build directory (with rm -fr) can take a significant amount
of time, longer than the standard buildbot timeout, which delays the
builds. Instead, we use the clobberdir script from the helper repository.

This script moves the directory contents out of the way to a location which
is reaped by a background process.
Unfortunately this assumes/requires a copy of the repository is kept in the
home directory of the user running buildbot.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 21:58:18 +00:00
Joshua Lock
e2dacc0f6a config: fix repo mapping for eclipse builders
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 12:20:53 +00:00
Joshua Lock
585ed37847 builders: pass all repo configuration properties to triggered builders
Ensure triggered builds have all of the branch_, commit_ and repo_
properties set. Most builders won't use them, but it's simpler to set them
all for all triggered builds than to special case specific builders.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 12:17:31 +00:00
Joshua Lock
2e575d2377 config: fix repos for nightly-non-gpl3
nightly-non-gpl3 builder needs the meta-gplv2 repository as well as poky

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 12:17:31 +00:00
Joshua Lock
f1c40f6fab TODO: clarify a to do item
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 11:36:59 +00:00
Joshua Lock
5ab7c09629 README: add a note on reverse proxies
The new UI with websocket usage requires some additional logic in reverse
proxy configurations.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 11:36:44 +00:00
Joshua Lock
55900494ce config: fix missing comma
A missing comma resulted in the nightly-ppc-lsb and nightly-x86-64 builders
being merged into one.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 11:36:04 +00:00
Joshua Lock
37a42c46fd builders: increase timeout for run-config invocations
run-config can run without producing output for longer than the default
1200s/20m timeout value. Increase the timeout to a generous 16200s/4.5h
in order to give the script plenty of time to run.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-28 11:26:32 +00:00
Joshua Lock
6356e5553a README: clarify some things
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-22 15:55:50 +00:00
Joshua Lock
10a116f397 master.cfg: import config module
In order to reload the config module on SIGHUP we need to first import it

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-22 15:55:12 +00:00
Joshua Lock
20dcfb7159 Fix module name after rename
The repository was renamed yoctoabb from yoctoab, fix up module references
2018-02-22 14:05:19 +00:00
Joshua G Lock
9b25f02692
README.md: improve readability
Make more use of Markdown formatting features to improve the readability of the README when rendered.
2018-02-22 10:45:37 +00:00
Joshua Lock
4fd189ab38 Initial prototype of using yocto-autobuilder-helper scripts
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>
2018-02-22 10:38:19 +00:00
Joshua G Lock
9061f7d932
Initial commit 2018-02-22 10:31:40 +00:00