From 57336bbfc6fc436ed99155f70d37d7181387715a Mon Sep 17 00:00:00 2001 From: Edward Gao Date: Thu, 20 Nov 2025 11:25:18 -0800 Subject: [PATCH 1/3] add param --- .github/workflows/cdk-connector-compatibility-test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cdk-connector-compatibility-test.yml b/.github/workflows/cdk-connector-compatibility-test.yml index 89bfdd1b711c..d558b38cdb61 100644 --- a/.github/workflows/cdk-connector-compatibility-test.yml +++ b/.github/workflows/cdk-connector-compatibility-test.yml @@ -7,6 +7,15 @@ on: schedule: - cron: "0 12 * * *" workflow_call: + inputs: + upgradeCdkGradleParams: + type: string + description: | + Additional parameters to pass into the `./gradlew upgradeCdk` call. + For example, `-x :airbyte-integrations:connectors:destination-hubspot:upgradeCdk` would allow you + to exclude destination-hubspot from being tested. + required: false + default: "" jobs: generate-matrix: From 0f3cfbf7e1bb83c20daa582cea9b35830cbbc445 Mon Sep 17 00:00:00 2001 From: Edward Gao Date: Thu, 20 Nov 2025 11:26:10 -0800 Subject: [PATCH 2/3] pass param --- .github/workflows/cdk-connector-compatibility-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cdk-connector-compatibility-test.yml b/.github/workflows/cdk-connector-compatibility-test.yml index d558b38cdb61..6a7ebdfd8524 100644 --- a/.github/workflows/cdk-connector-compatibility-test.yml +++ b/.github/workflows/cdk-connector-compatibility-test.yml @@ -98,7 +98,7 @@ jobs: - name: Run CDK upgrade # Run tests against local CDK version if: matrix.connector - run: ./gradlew upgradeCdk --cdkVersion=local + run: ./gradlew upgradeCdk --cdkVersion=local ${{ inputs.upgradeCdkGradleParams }} - name: Run Unit Tests id: run-unit-tests From 575109c1985f5f2bb0622c7822b40a37f1c745d5 Mon Sep 17 00:00:00 2001 From: Edward Gao Date: Thu, 20 Nov 2025 11:32:18 -0800 Subject: [PATCH 3/3] pass default value --- .github/workflows/cdk-connector-compatibility-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cdk-connector-compatibility-test.yml b/.github/workflows/cdk-connector-compatibility-test.yml index 6a7ebdfd8524..ebe56a58fe45 100644 --- a/.github/workflows/cdk-connector-compatibility-test.yml +++ b/.github/workflows/cdk-connector-compatibility-test.yml @@ -45,6 +45,8 @@ jobs: GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }} GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID || vars.GCP_PROJECT_ID }} DD_TAGS: "connector.name:${{ matrix.connector }}" + # Exclude data activation destinations by default + UPGRADE_CDK_GRADLE_PARAMS: ${{ inputs.upgradeCdkGradleParams || '-x :airbyte-integrations:connectors:destination-hubspot:upgradeCdk :airbyte-integrations:connectors:destination-customer-io:upgradeCdk' }} strategy: matrix: @@ -98,7 +100,7 @@ jobs: - name: Run CDK upgrade # Run tests against local CDK version if: matrix.connector - run: ./gradlew upgradeCdk --cdkVersion=local ${{ inputs.upgradeCdkGradleParams }} + run: ./gradlew upgradeCdk --cdkVersion=local $UPGRADE_CDK_GRADLE_PARAMS - name: Run Unit Tests id: run-unit-tests