ReleaseEngineering/PuppetAgain/Modules/runner

From MozillaWiki
Jump to: navigation, 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.