Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format and Process Resources in PR autoamtically #23415

Merged
merged 10 commits into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from 7 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
24 changes: 17 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ jobs:
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Cache Build Artifacts
uses: ./.github/actions/cache-build-artifacts
Expand Down Expand Up @@ -189,6 +191,8 @@ jobs:
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Cache Build Artifacts
uses: ./.github/actions/cache-build-artifacts
Expand Down Expand Up @@ -242,20 +246,26 @@ jobs:
attempt_limit: 3
attempt_delay: 5000 # in ms

# Verify that the linter is happy
evantahler marked this conversation as resolved.
Show resolved Hide resolved
- name: Ensure no file change from code formatting
run: git --no-pager diff && test -z "$(git --no-pager diff)"

- name: Build
uses: Wandalen/wretry.action@master
with:
command: SUB_BUILD=CONNECTORS_BASE ./gradlew build --scan
attempt_limit: 3
attempt_delay: 5000 # in ms

# Ensure that the connector autogenerated files are happy
- name: Ensure no file change from regenerating connector definitions/specs
run: git --no-pager diff && test -z "$(git --no-pager diff)"
- name: Process Resources
uses: Wandalen/wretry.action@master
with:
command: SUB_BUILD=CONNECTORS_BASE ./gradlew :airbyte-config:init:processResources --scan
attempt_limit: 3
attempt_delay: 5000 # in ms

- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated Change
commit_user_name: Octavia Squidington III
commit_user_email: octavia-squidington-iii@users.noreply.github.com

- name: Publish Connectors Base Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
Expand Down
203 changes: 0 additions & 203 deletions .github/workflows/publish-connector-command.yml

This file was deleted.