Skip to content

Commit 1fb09d3

Browse files
committed
use packs_glob for all_packs
1 parent 0efe93d commit 1fb09d3

1 file changed

Lines changed: 10 additions & 40 deletions

File tree

  • st2tests/st2tests/fixtures/packs

st2tests/st2tests/fixtures/packs/BUILD

Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -35,49 +35,19 @@ python_sources(
3535
],
3636
)
3737

38-
# Please make sure to register all of the packs in this dir.
39-
# For each pack, depend on the python_sources target (which depends on pack_metadata).
40-
target(
38+
packs_glob(
4139
name="all_packs",
4240
dependencies=[
43-
"./action_chain_tests",
41+
# core is a symlink instead of a dir
4442
"./core",
45-
"./dummy_pack_1",
46-
"./dummy_pack_2",
47-
"./dummy_pack_3",
48-
"./dummy_pack_4",
49-
"./dummy_pack_5",
50-
"./dummy_pack_6",
51-
"./dummy_pack_7",
52-
"./dummy_pack_8",
53-
"./dummy_pack_9",
54-
"./dummy_pack_10",
55-
"./dummy_pack_11",
56-
"./dummy_pack_12",
57-
"./dummy_pack_13",
58-
"./dummy_pack_14",
59-
"./dummy_pack_15",
60-
"./dummy_pack_16",
61-
"./dummy_pack_17",
62-
"./dummy_pack_18",
63-
"./dummy_pack_19",
64-
"./dummy_pack_20",
65-
"./dummy_pack_21",
66-
"./dummy_pack_22",
67-
"./dummy_pack_23",
68-
"./dummy_pack_schema_with_additional_items_1",
69-
"./dummy_pack_schema_with_additional_properties_1",
70-
"./dummy_pack_schema_with_nested_object_1",
71-
"./dummy_pack_schema_with_nested_object_2",
72-
"./dummy_pack_schema_with_nested_object_3",
73-
"./dummy_pack_schema_with_nested_object_4",
74-
"./dummy_pack_schema_with_nested_object_5",
75-
"./dummy_pack_schema_with_pattern_and_additional_properties_1",
76-
"./dummy_pack_schema_with_pattern_properties_1",
77-
"./orquesta_tests",
78-
"./pack_dir_name_doesnt_match_ref",
79-
"./pack_invalid_requirements",
43+
# use :test_content_version instead because of the git submodule
8044
":test_content_version",
81-
"./test_library_dependencies",
45+
"!./test_content_version",
46+
"!./test_content_version_fixture",
47+
# these are not packs
48+
"!./configs",
49+
"!./executions",
50+
"!./runners",
51+
"!./all_packs_glob", # the fixture that pulls in this target
8252
],
8353
)

0 commit comments

Comments
 (0)