ReleaseEngineering/PuppetAgain/Modules/runner: Difference between revisions

(Created page with "The runner module installs Runner, which manages pre-buildbot tasks on slaves (currently CentOS build slaves only). =Runner= Documentation and usage for Runner itself can be...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The runner module installs Runner, which manages pre-buildbot tasks on slaves (currently CentOS build slaves only).
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=
=Runner=
Line 7: Line 7:
=Tasks=
=Tasks=


To add a task to be managed by Runner, the script should be added to runner/files and an instance of the runner::task class should be created (see the existing tasks in runner::tasks for examples)
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.
Confirmed users
17

edits