Skip to content

Commit 35bc80a

Browse files
authored
ci: separate Connector Tests from Pre-Release Checks (#52706)
1 parent c986a9e commit 35bc80a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/connectors_version_increment_check.yml renamed to .github/workflows/connectors_pre_release_checks.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Connectors Version Increment Check
1+
name: Connectors Pre-Release Checks
22

33
concurrency:
44
# This is the name of the concurrency group. It is used to prevent concurrent runs of the same workflow.
@@ -20,9 +20,11 @@ on:
2020
- "airbyte-integrations/connectors/**/*"
2121
jobs:
2222
connectors_ci:
23-
name: Connectors Version Increment Check
23+
name: Connector Pre-Release Checks
2424
runs-on: linux-20.04-large # Custom runner, defined in GitHub org settings
25-
if: github.event.pull_request.head.repo.fork != true
25+
if: >
26+
github.event.pull_request.head.repo.fork != true &&
27+
github.event.pull_request.draft == false
2628
timeout-minutes: 22
2729
steps:
2830
- name: Checkout Airbyte
@@ -51,4 +53,4 @@ jobs:
5153
github_token: ${{ env.PAT }}
5254
s3_build_cache_access_key_id: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }}
5355
s3_build_cache_secret_key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}
54-
subcommand: "connectors --modified test --only-step=version_inc_check --global-status-check-context='Version increment check for Java connectors' --global-status-check-description='Checking if java connectors modified in this PR got their version bumped'"
56+
subcommand: "connectors --modified test --only-step=version_inc_check --only-step=qa_checks --global-status-check-context='Connectors Pre-Release Check' --global-status-check-description='Checking if connectors modified in this PR are ready for release'"

.github/workflows/connectors_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ jobs:
133133
s3_build_cache_access_key_id: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }}
134134
s3_build_cache_secret_key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}
135135
# A connector test can't take more than 5 hours to run (5 * 60 * 60 = 18000 seconds)
136-
subcommand: "connectors --execute-timeout=18000 --modified test"
136+
subcommand: "connectors --execute-timeout=18000 --modified test --skip-step=qa_checks --skip-step=version_inc_check"

0 commit comments

Comments
 (0)