-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into xiaohan/cron-update
- Loading branch information
Showing
672 changed files
with
16,913 additions
and
13,568 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
Validating CODEOWNERS rules …
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
format-and-commit: | ||
runs-on: ubuntu-latest | ||
name: "Apply All Formatting Rules" | ||
timeout-minutes: 20 | ||
timeout-minutes: 40 | ||
steps: | ||
- name: Checkout Airbyte | ||
uses: actions/checkout@v3 | ||
|
@@ -23,6 +23,25 @@ jobs: | |
# Without this we would be be forever waiting on required checks to pass | ||
token: ${{ secrets.GH_PAT_APPROVINGTON_OCTAVIA }} | ||
|
||
# IMPORTANT! This is nessesary to make sure that a status is reported on the PR | ||
# even if the workflow is skipped. If we used github actions filters, the workflow | ||
# would not be reported as skipped, but instead would be forever pending. | ||
# | ||
# I KNOW THIS SOUNDS CRAZY, BUT IT IS TRUE. | ||
# | ||
# Also it gets worse | ||
# | ||
# IMPORTANT! DO NOT CHANGE THE QUOTES AROUND THE GLOBS. THEY ARE REQUIRED. | ||
# MAKE SURE TO TEST ANY SYNTAX CHANGES BEFORE MERGING. | ||
- name: Get changed files | ||
uses: tj-actions/changed-files@v39 | ||
id: changes | ||
with: | ||
files_yaml: | | ||
format: | ||
- '**/*' | ||
- '!**/*.md' | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "zulu" | ||
|
@@ -47,6 +66,7 @@ jobs: | |
EOF | ||
- name: Format | ||
if: steps.changes.outputs.format_any_changed == 'true' | ||
uses: Wandalen/[email protected] | ||
with: | ||
command: ./gradlew format --scan --info --stacktrace | ||
|
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,43 @@ | ||
# This workflows runs airbyte-ci connectors --name=source-postgres test | ||
# We created this in the context of our project to improve CI performances for this connector | ||
# It's made to be triggered manually from the GitHub UI | ||
# It will allow us to collect performance metrics outside of the context of nightly builds | ||
# And also to use different runner types (e.g. conn-prod-xxlarge-runner) to test the connector with various resources. | ||
|
||
name: source-postgres ci - for testing only | ||
|
||
on: | ||
schedule: | ||
# Run three time a day to collect performance metrics and observe variance | ||
- cron: "0 9,13,17 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
runner: | ||
description: "The runner to use for this job" | ||
default: "conn-prod-xlarge-runner" | ||
|
||
jobs: | ||
source_postgres_ci: | ||
name: Source Postgres CI on ${{ inputs.runner || 'conn-prod-xlarge-runner'}} | ||
runs-on: ${{ inputs.runner || 'conn-prod-xlarge-runner'}} | ||
steps: | ||
- name: Checkout Airbyte | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.event.inputs.repo }} | ||
ref: ${{ github.event.inputs.gitref }} | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT | ||
id: extract_branch | ||
- name: Test source-postgres | ||
uses: ./.github/actions/run-dagger-pipeline | ||
with: | ||
context: "master" | ||
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
gcp_gsm_credentials: ${{ secrets.GCP_GSM_CREDENTIALS }} | ||
sentry_dsn: ${{ secrets.SENTRY_AIRBYTE_CI_DSN }} | ||
git_branch: ${{ steps.extract_branch.outputs.branch }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
subcommand: "connectors --name=source-postgres test" |
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
Oops, something went wrong.