ReleaseEngineering/PuppetAgain/Modules/runner

From MozillaWiki
< ReleaseEngineering‎ | PuppetAgain‎ | Modules
Revision as of 23:14, 15 August 2014 by Ianconnolly (talk | contribs) (→‎Tasks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The runner module installs Runner, which runs pre-buildbot tasks on slaves (currently CentOS build slaves only). It also manages the tasks to be run by runner.

Runner

Documentation and usage for Runner itself can be found in its repository.

Tasks

To add a task to be managed by Runner,

  • The script should be added to runner/templates/tasks in this module.
  • An instance of the runner::task class which manages this script should be created (see the existing tasks in runner::tasks for examples).
  • The tasks desired on a particular machine should be included in the toplevel class for that machine type (eg. toplevel::slave::releng::build::mock)

Once Runner 2.0 lands (see https://bugzilla.mozilla.org/show_bug.cgi?id=1046891), an additional configuration step will be required which will be documented here.