Commit Graph

5 Commits

Author SHA1 Message Date
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
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
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
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 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