Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/base/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def on_checks_complete(self) -> Any:
self.summary.print_summary()
return 1 if self.has_failed else 0

@runner.cleansup
def run(self) -> int:
"""Run all configured checks and return the sum of their error counts"""
checks = self.get_checks()
Expand Down Expand Up @@ -357,6 +358,7 @@ async def _run(self) -> int:
result = await self.on_checks_complete()
return result

@runner.cleansup
def run(self) -> int:
try:
return asyncio.get_event_loop().run_until_complete(self._run())
Expand Down
8 changes: 8 additions & 0 deletions tools/distribution/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ envoy_py_binary(
"//tools/gpg:identity",
],
)

envoy_py_binary(
name = "tools.distribution.verify",
deps = [
":distrotest",
"//tools/base:checker",
],
)
Loading