-
-
Notifications
You must be signed in to change notification settings - Fork 746
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 #5909: Pants: add
python_distribution
BUILD meta…
…data for st2* components
- Loading branch information
Showing
12 changed files
with
91 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
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,10 @@ | ||
st2_component_python_distribution( | ||
component_name="st2actions", | ||
scripts=[ | ||
"bin/st2actionrunner", | ||
"bin/st2notifier", | ||
"bin/st2workflowengine", | ||
"bin/st2scheduler", | ||
"bin/runners.sh:shell", # used by service files installed by st2-packaging | ||
], | ||
) |
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,4 @@ | ||
st2_component_python_distribution( | ||
component_name="st2api", | ||
scripts=["bin/st2api"], | ||
) |
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,9 @@ | ||
st2_component_python_distribution( | ||
component_name="st2auth", | ||
scripts=["bin/st2auth"], | ||
entry_points={ | ||
stevedore_namespace("st2auth.sso.backends"): { | ||
"noop": "st2auth.sso.noop:NoOpSingleSignOnBackend", | ||
}, | ||
}, | ||
) |
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,8 @@ | ||
st2_component_python_distribution( | ||
component_name="st2client", | ||
entry_points={ | ||
"console_scripts": { | ||
"st2": "st2client.shell:main", | ||
}, | ||
}, | ||
) |
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,39 @@ | ||
st2_component_python_distribution( | ||
component_name="st2common", | ||
scripts=[ | ||
# some scripts in bin are only for development and should not be included. | ||
"bin/st2-bootstrap-rmq", | ||
"bin/st2-cleanup-db", | ||
"bin/st2-register-content", | ||
"bin/st2-purge-executions", | ||
"bin/st2-purge-workflows", | ||
"bin/st2-purge-task-executions", | ||
"bin/st2-purge-tokens", | ||
"bin/st2-purge-trigger-instances", | ||
"bin/st2-purge-traces", | ||
"bin/st2-purge-rule-enforcements", | ||
"bin/st2-generate-symmetric-crypto-key", | ||
"bin/st2-track-result", | ||
"bin/st2-validate-pack", | ||
"bin/st2-validate-pack-config", | ||
"bin/st2-pack-install", | ||
"bin/st2-pack-download", | ||
"bin/st2-pack-setup-virtualenv", | ||
"bin/migrations/v3.5/st2-migrate-db-dict-field-values", | ||
"bin/st2-run-pack-tests:shell", | ||
"bin/st2ctl:shell", | ||
"bin/st2-self-check:shell", | ||
# dev scripts we might want to include | ||
# "bin/st2-generate-schemas", | ||
], | ||
entry_points={ | ||
stevedore_namespace("st2common.metrics.driver"): { | ||
"statsd": "st2common.metrics.drivers.statsd_driver:StatsdDriver", | ||
"noop": "st2common.metrics.drivers.noop_driver:NoopDriver", | ||
"echo": "st2common.metrics.drivers.echo_driver:EchoDriver", | ||
}, | ||
stevedore_namespace("st2common.rbac.backend"): { | ||
"noop": "st2common.rbac.backends.noop:NoOpRBACBackend", | ||
}, | ||
}, | ||
) |
Empty file.
Empty file.
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_component_python_distribution( | ||
component_name="st2reactor", | ||
scripts=[ | ||
"bin/st2-rule-tester", | ||
"bin/st2-trigger-refire", | ||
"bin/st2rulesengine", | ||
"bin/st2sensorcontainer", | ||
"bin/st2garbagecollector", | ||
"bin/st2timersengine", | ||
], | ||
) |
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,4 @@ | ||
st2_component_python_distribution( | ||
component_name="st2stream", | ||
scripts=["bin/st2stream"], | ||
) |
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,3 @@ | ||
st2_component_python_distribution( | ||
component_name="st2tests", | ||
) |