-
-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pants: Add
pack_metadata
targets to BUILD files (#5871)
* pants: add pack_metadata targets * add packs_metadata and related targets * Add pack_metadata dependencies * Add pack_metadata for more fixtures * Allow pants to detect packs fixture usage * Cleanup fixtures BUILD files Several fixtures have been adjusted so pants can infer them. So, I dropped the hard-coded dep in the BUILD files. * add BUILD metadata for st2tests/testpacks * depend on pack_metadata in st2tests.fixtures.packs.core.fixture * Add pack_metadata targets in st2reactor pack fixtures * Enable pants-plugins/pack_metadata This reverts commit 4a1b241. * update changelog entry * disable spurious pack_metadata target where there is no metadata * add pack_metadata to contrib/debug with `./pants tailor ::`
- Loading branch information
1 parent
33a5039
commit 6e773e6
Showing
68 changed files
with
389 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_requirements( | ||
name="reqs", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
python_sources() | ||
python_sources( | ||
dependencies=[ | ||
"./stackstorm-test:metadata", | ||
"./stackstorm-test2:metadata", | ||
"./stackstorm-test3:metadata", | ||
"./stackstorm-test4:metadata", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_1.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_11.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_19.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
resource( | ||
name="pack_requirements", | ||
source="requirements.txt", | ||
) | ||
|
||
python_sources() | ||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_22.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
python_sources() | ||
# There are no metadata files in dummy_pack_23 yet. | ||
# It is used in the pack copy tests. | ||
# pack_metadata( | ||
# name="metadata", | ||
# ) | ||
|
||
python_sources( | ||
# dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_5.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_6.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[ | ||
":metadata", | ||
"st2tests/st2tests/fixtures/packs/configs/dummy_pack_7.yaml", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
python_sources() | ||
pack_metadata( | ||
name="metadata", | ||
) | ||
|
||
python_sources( | ||
dependencies=[":metadata"], | ||
) |
Oops, something went wrong.