-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
envoy.ci.report
(0.0.3): Improve schema and cleanups
Signed-off-by: Ryan Northey <ryan@synca.io>
- Loading branch information
Showing
8 changed files
with
233 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.3-dev | ||
0.0.3 |
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
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,36 @@ | ||
|
||
from typing import TypedDict | ||
|
||
|
||
class CIWorkflowDict(TypedDict): | ||
name: str | ||
status: str | ||
event: str | ||
conclusion: str | ||
|
||
|
||
class CICommitHeadDict(TypedDict): | ||
message: str | ||
target_branch: str | ||
|
||
|
||
class CIRequestDict(TypedDict): | ||
event: str | ||
started: float | ||
workflows: list[dict[str, CIWorkflowDict]] | ||
|
||
|
||
class CIRunsCommitDict(TypedDict): | ||
head: CICommitHeadDict | ||
requests: dict[int, CIRequestDict] | ||
|
||
|
||
class CIRequestWorkflowDict(TypedDict): | ||
checks: dict | ||
request: dict | ||
|
||
|
||
CIRunsDict = dict[str, CIRunsCommitDict] | ||
CIRequestWorkflowsDict = dict[int, list[CIRequestWorkflowDict]] | ||
CIRequestEventDict = dict[str, CIRequestWorkflowsDict] | ||
CIRequestEnvsDict = dict[str, CIRequestEventDict] |
Oops, something went wrong.