Skip to content

Commit 796a08c

Browse files
committed
Add scripts to BUILD python_distribution for st2 components
1 parent e564418 commit 796a08c

6 files changed

Lines changed: 44 additions & 0 deletions

File tree

st2actions/BUILD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
st2_component_python_distribution(
22
component_name="st2actions",
3+
scripts=[
4+
"bin/st2actionrunner",
5+
"bin/st2notifier",
6+
"bin/st2workflowengine",
7+
"bin/st2scheduler",
8+
"bin/runners.sh:shell", # used by service files installed by st2-packaging
9+
],
310
)

st2api/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
st2_component_python_distribution(
22
component_name="st2api",
3+
scripts=["bin/st2api"],
34
)

st2auth/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
st2_component_python_distribution(
22
component_name="st2auth",
3+
scripts=["bin/st2auth"],
34
)

st2common/BUILD

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
st2_component_python_distribution(
22
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+
],
329
)

st2reactor/BUILD

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
st2_component_python_distribution(
22
component_name="st2reactor",
3+
scripts=[
4+
"bin/st2-rule-tester",
5+
"bin/st2-trigger-refire",
6+
"bin/st2rulesengine",
7+
"bin/st2sensorcontainer",
8+
"bin/st2garbagecollector",
9+
"bin/st2timersengine",
10+
],
311
)

st2stream/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
st2_component_python_distribution(
22
component_name="st2stream",
3+
scripts=["bin/st2stream"],
34
)

0 commit comments

Comments
 (0)