Commit Graph

11 Commits

Author SHA1 Message Date
Richard Purdie
b5970d5b49 builders: Drop bitbake-selftest as moved into the helper
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 17:20:44 +01:00
Paul Eggleton
7bdc7c9dcd builders: set build revision to poky revision
By default, since the yocto-autobuilder-helper repository is the only
one that buildbot actually checks out in a step, the revision of that is
the one that gets associated with the build; however, it's much more
useful to have the revision set to the poky revision, so add a step that
does that.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 09:35:16 -08: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
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
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
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
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