Confirmed users
17
edits
Ianconnolly (talk | contribs) (→Tasks) |
Ianconnolly (talk | contribs) (→Tasks) |
||
| Line 9: | Line 9: | ||
To add a task to be managed by Runner, | To add a task to be managed by Runner, | ||
* The script should be added to runner/templates/tasks | * 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). | * 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) | * 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. | 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. | ||