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.
Merge branch 'airbytehq:master' into master
- Loading branch information
Showing
3,759 changed files
with
559,088 additions
and
357,360 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "Send PagerDuty event" | ||
description: "Use Event API V2 to send a PagerDuty event." | ||
inputs: | ||
integration_key: | ||
description: "The integration key for the PagerDuty service." | ||
required: true | ||
summary: | ||
description: "A brief text summary of the event." | ||
required: true | ||
severity: | ||
description: "The severity of the event. (info, warning, error, critical)" | ||
required: true | ||
source: | ||
description: "Specific human-readable unique identifier, such as a hostname, for the system having the problem." | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Send PagerDuty event | ||
id: send-pager-duty-event | ||
shell: bash | ||
run: | | ||
curl --request 'POST' \ | ||
--fail \ | ||
--url "https://events.pagerduty.com/v2/enqueue" \ | ||
--header 'Content-Type: application/json' \ | ||
--data '{ | ||
"payload": { | ||
"summary": "${{ inputs.summary }}", | ||
"severity": "${{ inputs.severity }}", | ||
"source": "${{ inputs.source }}" | ||
}, | ||
"event_action": "trigger", | ||
"routing_key": "${{ inputs.integration_key }}" | ||
}' |
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,44 @@ | ||
name: Run Codeflash on CDK PR | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- airbyte-cdk/python/airbyte_cdk/** | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
working-directory: ./airbyte-cdk/python/airbyte_cdk | ||
|
||
jobs: | ||
optimize: | ||
name: | ||
Optimize new code in this PR | ||
# Only run codeflash if | ||
# 1. The contributor is not codeflash. To avoid infinite loops | ||
# 2. The pull request is not from a forked repository | ||
if: ${{ github.actor != 'codeflash-ai[bot]' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork != true}} | ||
runs-on: ubuntu-latest | ||
env: | ||
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }} | ||
CODEFLASH_PR_NUMBER: ${{ github.event.number }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- name: Install Airbyte CDK | ||
id: install-airbyte-cdk | ||
run: | | ||
pip install --upgrade pip | ||
pip install poetry | ||
poetry install --all-extras --with dev | ||
- name: Run Codeflash to optimize code | ||
id: optimize_code | ||
run: | | ||
poetry env use python | ||
poetry run codeflash |
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 |
---|---|---|
|
@@ -95,7 +95,7 @@ jobs: | |
uses: slackapi/[email protected] | ||
continue-on-error: true | ||
with: | ||
channel-id: C04J1M66D8B | ||
channel-id: C07K1P3UL6Q # The `#dev-java-cdk-releases` channel | ||
payload: | | ||
{ | ||
"text": "Error while publishing Bulk CDK!", | ||
|
@@ -124,7 +124,7 @@ jobs: | |
uses: slackapi/[email protected] | ||
continue-on-error: true | ||
with: | ||
channel-id: C04J1M66D8B | ||
channel-id: C07K1P3UL6Q # The `#dev-java-cdk-releases` channel | ||
payload: | | ||
{ | ||
"text": "Bulk CDK version 0.${{ env.BUILD_NUMBER }} published successfully!", | ||
|
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 |
---|---|---|
|
@@ -165,7 +165,7 @@ jobs: | |
uses: slackapi/[email protected] | ||
continue-on-error: true | ||
with: | ||
channel-id: C04J1M66D8B | ||
channel-id: C07K1P3UL6Q # The `#dev-java-cdk-releases` channel | ||
payload: | | ||
{ | ||
"text": "Error during `publish-cdk` while publishing Java CDK!", | ||
|
@@ -194,7 +194,7 @@ jobs: | |
uses: slackapi/[email protected] | ||
continue-on-error: true | ||
with: | ||
channel-id: C04J1M66D8B | ||
channel-id: C07K1P3UL6Q # The `#dev-java-cdk-releases` channel | ||
payload: | | ||
{ | ||
"text": "New `${{ env.CDK_VERSION }}` version of Java CDK was successfully published!", | ||
|
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.