Skip to content

Commit 81625e5

Browse files
Merge branch 'master' into bkhushboo/service_setup
2 parents c13fac6 + 11989ed commit 81625e5

File tree

21 files changed

+63
-13
lines changed

21 files changed

+63
-13
lines changed

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Added
5353

5454
* Begin introducing `pants <https://www.pantsbuild.org/docs>`_ to improve DX (Developer Experience)
5555
working on StackStorm, improve our security posture, and improve CI reliability thanks in part
56-
to pants' use of PEX lockfiles. This is not a user-facing addition. #5713 #5724 #5726 #5725 #5732 #5733 #5737 #5738 #5758
56+
to pants' use of PEX lockfiles. This is not a user-facing addition. #5713 #5724 #5726 #5725 #5732 #5733 #5737 #5738 #5758 #5751
5757
Contributed by @cognifloyd
5858

5959
Changed

contrib/core/actions/send_mail/BUILD

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
shell_source(
2+
source="send_mail",
3+
skip_shellcheck=True,
4+
)

contrib/examples/actions/BUILD

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
python_sources()
22

33
shell_sources(
4-
name="actions0",
4+
name="shell",
5+
skip_shellcheck=True,
56
)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
shell_sources()
1+
shell_sources(skip_shellcheck=True)
+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
shell_sources()
1+
shell_sources(
2+
overrides={
3+
"random2.sh": {"skip_shellcheck": True},
4+
},
5+
)

contrib/linux/actions/BUILD

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
python_sources()
22

33
shell_sources(
4-
name="actions0",
4+
name="shell",
5+
skip_shellcheck=True,
56
)

pants.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ backend_packages = [
1515

1616
# shell
1717
"pants.backend.shell",
18+
"pants.backend.shell.lint.shellcheck",
1819
]
1920
# pants ignores files in .gitignore, .*/ directories, /dist/ directory, and __pycache__.
2021
pants_ignore.add = [

scripts/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
python_sources()
22

33
shell_sources(
4-
name="scripts0",
4+
name="shell",
55
)

st2actions/bin/BUILD

+8-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
shell_sources()
1+
python_sources(
2+
sources=["st2*"],
3+
)
4+
5+
shell_sources(
6+
name="shell",
7+
skip_shellcheck=True,
8+
)

st2api/bin/BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
python_sources(
2+
sources=["st2*"],
3+
)

st2auth/bin/BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
python_sources(
2+
sources=["st2*"],
3+
)

st2common/bin/BUILD

+9-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
python_sources()
1+
python_sources(
2+
sources=["*.py", "st2*", "!st2ctl", "!st2-self-check", "!st2-run-pack-tests"],
3+
)
4+
5+
shell_sources(
6+
name="shell",
7+
sources=["st2ctl", "st2-self-check", "st2-run-pack-tests"],
8+
skip_shellcheck=True,
9+
)

st2common/bin/migrations/v2.1/BUILD

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
python_sources()
22

33
shell_sources(
4-
name="v2.10",
4+
name="shell",
5+
skip_shellcheck=True,
56
)

st2common/bin/migrations/v3.5/BUILD

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# TODO: what to do about st2-migrate-db-dict-field-values ?
2+
# st2_migrate_db_dict_field_values.py is a symlink to st2-migrate-db-dict-field-values
13
python_sources()

st2common/tests/fixtures/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
python_sources()
22

33
shell_sources(
4-
name="fixtures0",
4+
name="shell",
55
)

st2reactor/bin/BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
python_sources(
2+
sources=["st2*"],
3+
)

st2stream/bin/BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
python_sources(
2+
sources=["st2*"],
3+
)

st2tests/integration/BUILD

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
shell_sources()
1+
shell_sources(
2+
name="shell",
3+
skip_shellcheck=True,
4+
)

st2tests/st2tests/fixtures/packs/BUILD

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ resources(
1414

1515
shell_sources(
1616
name="test_content_version_shell",
17+
skip_shellcheck=True,
1718
sources=[
1819
"test_content_version/**/*.sh",
1920
],
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
shell_sources()
1+
shell_sources(skip_shellcheck=True)

tools/BUILD

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
python_sources()
22

33
shell_sources(
4-
name="tools0",
4+
name="shell",
5+
sources=[
6+
"*.sh",
7+
"st2-setup-*",
8+
],
9+
skip_shellcheck=True,
510
)

0 commit comments

Comments
 (0)