Func Worker for Release Engine for our new release engine hotness
Run make tests from the main directory to execute unittests
(including pep8 and
pyflakes)
The configuration file uses the following pattern in JSON format:
{
"FUNC_MODULE": {
"COMMAND_1": ["REQUIRED", "PARAMETERS"],
"COMMAND_2": ["ONE_ITEM"],
"COMMAND_N": []
}
Example:
{
"yumcmd": {
"install": ["package"],
"remove": ["package"],
"update": []
}
}
Note: See Func - Module List for more information.
{
"project": "example project",
"ownership": {
"id": "Some team",
"contact": "[email protected]"
},
"steps": [
{
"name": "stop foo service",
"plugin": "funcworker",
"parameters": {
"command": "service",
"subcommand": "stop",
"service": "megafrobber"
}
},
{
"name": "foo",
"plugin": "funcworker",
"parameters": {
"command": "yumcmd",
"subcommand": "install",
"package": "xemacs",
}
}
]
}