forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Github: add workflow_jobs stream (airbytehq#16534)
* feat(workflow-jobs)!: new class 'WorkflowJobs' to get job informations from Github; * feat(workflow-jobs)!: unit test to new class 'WorkflowJobs'; * feat(test_stream/test_stream_workflow_jobs_read_incremental)!: support to method incremetal in unit test to class 'WorkflowJobs'; * feat(test_workflow): unit test incremental and full refresh to class 'WorkflowJobs'; * docs: updated github docs * docs: updated github docs * docs: updated github.md * docs: updated github.md * fix: add workflow_jobs in abnormal tests, use 'start date' in source and unit test; * fix: add workflow_jobs in 'abnormal_state.json' and 'sample_state.json' for integration tests; Co-authored-by: Paulo Roberto <paulo.rb.beserra@gmail.com> Co-authored-by: Paulo Roberto <71179739+py-paulo@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
383 additions
and
4 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
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
126 changes: 126 additions & 0 deletions
126
airbyte-integrations/connectors/source-github/source_github/schemas/workflow_jobs.json
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,126 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"run_id": { | ||
"type": "integer" | ||
}, | ||
"run_url": { | ||
"type": "string" | ||
}, | ||
"run_attempt": { | ||
"type": "integer" | ||
}, | ||
"node_id": { | ||
"type": "string" | ||
}, | ||
"head_sha": { | ||
"type": "string" | ||
}, | ||
"url": { | ||
"type": "string" | ||
}, | ||
"html_url": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"status": { | ||
"type": "string" | ||
}, | ||
"conclusion": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"started_at": { | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"completed_at": { | ||
"format": "date-time", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"steps": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"status": { | ||
"type": "string" | ||
}, | ||
"conclusion": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"number": { | ||
"type": "integer" | ||
}, | ||
"started_at": { | ||
"format": "date-time", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"completed_at": { | ||
"format": "date-time", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"check_run_url": { | ||
"type": "string" | ||
}, | ||
"labels": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"runner_id": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"runner_name": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"runner_group_id": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
] | ||
}, | ||
"runner_group_name": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
} | ||
} |
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
Oops, something went wrong.