|
| 1 | +st2_component_python_distribution( |
| 2 | + component_name="st2common", |
| 3 | + scripts=[ |
| 4 | + # some scripts in bin are only for development and should not be included. |
| 5 | + "bin/st2-bootstrap-rmq", |
| 6 | + "bin/st2-cleanup-db", |
| 7 | + "bin/st2-register-content", |
| 8 | + "bin/st2-purge-executions", |
| 9 | + "bin/st2-purge-workflows", |
| 10 | + "bin/st2-purge-task-executions", |
| 11 | + "bin/st2-purge-tokens", |
| 12 | + "bin/st2-purge-trigger-instances", |
| 13 | + "bin/st2-purge-traces", |
| 14 | + "bin/st2-purge-rule-enforcements", |
| 15 | + "bin/st2-generate-symmetric-crypto-key", |
| 16 | + "bin/st2-track-result", |
| 17 | + "bin/st2-validate-pack", |
| 18 | + "bin/st2-validate-pack-config", |
| 19 | + "bin/st2-pack-install", |
| 20 | + "bin/st2-pack-download", |
| 21 | + "bin/st2-pack-setup-virtualenv", |
| 22 | + "bin/migrations/v3.5/st2-migrate-db-dict-field-values", |
| 23 | + "bin/st2-run-pack-tests:shell", |
| 24 | + "bin/st2ctl:shell", |
| 25 | + "bin/st2-self-check:shell", |
| 26 | + # dev scripts we might want to include |
| 27 | + # "bin/st2-generate-schemas", |
| 28 | + ], |
| 29 | + entry_points={ |
| 30 | + stevedore_namespace("st2common.metrics.driver"): { |
| 31 | + "statsd": "st2common.metrics.drivers.statsd_driver:StatsdDriver", |
| 32 | + "noop": "st2common.metrics.drivers.noop_driver:NoopDriver", |
| 33 | + "echo": "st2common.metrics.drivers.echo_driver:EchoDriver", |
| 34 | + }, |
| 35 | + stevedore_namespace("st2common.rbac.backend"): { |
| 36 | + "noop": "st2common.rbac.backends.noop:NoOpRBACBackend", |
| 37 | + }, |
| 38 | + }, |
| 39 | +) |
0 commit comments