Skip to content

Commit dab8f63

Browse files
committed
chore: add explicit deps for shell scripts in st2common/bin
1 parent ed11737 commit dab8f63

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

st2common/bin/BUILD

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,22 @@ st2_shell_sources_and_resources(
99
name="shell",
1010
sources=["st2ctl", "st2-self-check", "st2-run-pack-tests"],
1111
skip_shellcheck=True,
12+
overrides={
13+
"st2ctl": {
14+
"dependencies": [
15+
"./st2-register-content",
16+
"./st2-cleanup-db",
17+
],
18+
},
19+
"st2-self-check": {
20+
"dependencies": [
21+
"./st2ctl:shell",
22+
# TODO: dep on st2client cli?
23+
],
24+
},
25+
# st2-run-pack-tests creates its own virtualenv on the fly and
26+
# installs its dependencies, so they don't need to be listed here.
27+
# It can optionally use the deps installed with st2tests package.
28+
# "st2-run-pack-tests": {},
29+
},
1230
)

0 commit comments

Comments
 (0)