Skip to content
Open
Changes from all 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
13 changes: 12 additions & 1 deletion .github/workflows/cdk-connector-compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -36,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:
Expand Down Expand Up @@ -89,7 +100,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 $UPGRADE_CDK_GRADLE_PARAMS

- name: Run Unit Tests
id: run-unit-tests
Expand Down
Loading