-
-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5907: Pants: add
python_distribution
BUILD meta…
…data for runners
- Loading branch information
Showing
12 changed files
with
159 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
st2_runner_python_distribution( | ||
runner_name="action_chain", | ||
description=( | ||
"Action-Chain workflow action runner " | ||
"for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"action-chain": "action_chain_runner.action_chain_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
st2_runner_python_distribution( | ||
runner_name="announcement", | ||
description=( | ||
"Announcement action runner " | ||
"for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"announcement": "announcement_runner.announcement_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
st2_runner_python_distribution( | ||
runner_name="http", | ||
description=( | ||
"HTTP(s) action runner for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"http-request": "http_runner.http_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
st2_runner_python_distribution( | ||
runner_name="inquirer", | ||
description=( | ||
"Inquirer action runner for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"inquirer": "inquirer_runner.inquirer_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
st2_runner_python_distribution( | ||
runner_name="local", | ||
description=( | ||
"Local Shell Command and Script action runner " | ||
"for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"local-shell-cmd": "local_runner.local_shell_command_runner", | ||
"local-shell-script": "local_runner.local_shell_script_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
st2_runner_python_distribution( | ||
runner_name="noop", | ||
description=( | ||
"No-Op action runner for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"noop": "noop_runner.noop_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
st2_runner_python_distribution( | ||
runner_name="orquesta", | ||
description=( | ||
"Orquesta workflow runner " | ||
"for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"orquesta": "orquesta_runner.orquesta_runner", | ||
}, | ||
stevedore_namespace("orquesta.expressions.functions"): { | ||
"st2kv": "orquesta_functions.st2kv:st2kv_", | ||
"task": "orquesta_functions.runtime:task", | ||
"basename": "st2common.expressions.functions.path:basename", | ||
"dirname": "st2common.expressions.functions.path:dirname", | ||
"from_json_string": "st2common.expressions.functions.data:from_json_string", | ||
"from_yaml_string": "st2common.expressions.functions.data:from_yaml_string", | ||
"json_dump": "st2common.expressions.functions.data:to_json_string", | ||
"json_parse": "st2common.expressions.functions.data:from_json_string", | ||
"json_escape": "st2common.expressions.functions.data:json_escape", | ||
"jsonpath_query": "st2common.expressions.functions.data:jsonpath_query", | ||
"regex_match": "st2common.expressions.functions.regex:regex_match", | ||
"regex_replace": "st2common.expressions.functions.regex:regex_replace", | ||
"regex_search": "st2common.expressions.functions.regex:regex_search", | ||
"regex_substring": "st2common.expressions.functions.regex:regex_substring", | ||
"to_human_time_from_seconds": "st2common.expressions.functions.time:to_human_time_from_seconds", | ||
"to_json_string": "st2common.expressions.functions.data:to_json_string", | ||
"to_yaml_string": "st2common.expressions.functions.data:to_yaml_string", | ||
"use_none": "st2common.expressions.functions.data:use_none", | ||
"version_compare": "st2common.expressions.functions.version:version_compare", | ||
"version_more_than": "st2common.expressions.functions.version:version_more_than", | ||
"version_less_than": "st2common.expressions.functions.version:version_less_than", | ||
"version_equal": "st2common.expressions.functions.version:version_equal", | ||
"version_match": "st2common.expressions.functions.version:version_match", | ||
"version_bump_major": "st2common.expressions.functions.version:version_bump_major", | ||
"version_bump_minor": "st2common.expressions.functions.version:version_bump_minor", | ||
"version_bump_patch": "st2common.expressions.functions.version:version_bump_patch", | ||
"version_strip_patch": "st2common.expressions.functions.version:version_strip_patch", | ||
"yaml_dump": "st2common.expressions.functions.data:to_yaml_string", | ||
"yaml_parse": "st2common.expressions.functions.data:from_yaml_string", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
st2_runner_python_distribution( | ||
runner_name="python", | ||
description=( | ||
"Python action runner for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"python-script": "python_runner.python_runner", | ||
}, | ||
}, | ||
zip_safe=False, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
st2_runner_python_distribution( | ||
runner_name="remote", | ||
description=( | ||
"Remote SSH shell command and script action runner " | ||
"for the StackStorm event-driven automation platform" | ||
), | ||
entry_points={ | ||
stevedore_namespace("st2common.runners.runner"): { | ||
"remote-shell-cmd": "remote_runner.remote_command_runner", | ||
"remote-shell-script": "remote_runner.remote_script_runner", | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters