-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: search gapic additional protos in
BUILD.bazel
(#2004)
* fix: search additional protos in `BUILD.bazel` * add unit tests * modify readme * only search in proto_library_with_info * fix showcase ci * add option: gapic_additional_protos * change showcase * change default value * remove unused function
- Loading branch information
1 parent
47811f7
commit ed16ac7
Showing
14 changed files
with
128 additions
and
97 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
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
6 changes: 6 additions & 0 deletions
6
library_generation/test/resources/search_additional_protos/BUILD_common_resources.bazel
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,6 @@ | ||
# this file is only used in testing `get_gapic_additional_protos_from_BUILD` in utilities.sh | ||
|
||
proto_library_with_info( | ||
deps = [ | ||
] | ||
) |
8 changes: 8 additions & 0 deletions
8
library_generation/test/resources/search_additional_protos/BUILD_iam_locations.bazel
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,8 @@ | ||
# this file is only used in testing `get_gapic_additional_protos_from_BUILD` in utilities.sh | ||
|
||
proto_library_with_info( | ||
deps = [ | ||
"//google/iam/v1:iam_policy_proto", | ||
"//google/cloud/location:location_proto", | ||
] | ||
) |
7 changes: 7 additions & 0 deletions
7
library_generation/test/resources/search_additional_protos/BUILD_iam_policy.bazel
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,7 @@ | ||
# this file is only used in testing `get_gapic_additional_protos_from_BUILD` in utilities.sh | ||
|
||
proto_library_with_info( | ||
deps = [ | ||
"//google/iam/v1:iam_policy_proto", | ||
] | ||
) |
7 changes: 7 additions & 0 deletions
7
library_generation/test/resources/search_additional_protos/BUILD_locations.bazel
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,7 @@ | ||
# this file is only used in testing `get_gapic_additional_protos_from_BUILD` in utilities.sh | ||
|
||
proto_library_with_info( | ||
deps = [ | ||
"//google/cloud/location:location_proto", | ||
] | ||
) |
10 changes: 0 additions & 10 deletions
10
...ch_additional_protos/common_resources/search_additional_protos_common_resources_test.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ration/test/resources/search_additional_protos/iam/search_additional_protos_iam_test.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ces/search_additional_protos/iam_location/search_additional_protos_iam_location_test.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...t/resources/search_additional_protos/location/search_additional_protos_location_test.yaml
This file was deleted.
Oops, something went wrong.
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