From d6e70d6c0c8d5740592b44b7bda37d0f3a97c3bb Mon Sep 17 00:00:00 2001 From: marcosmarxm Date: Mon, 29 Jul 2024 13:16:42 -0300 Subject: [PATCH] add more vars --- .github/workflows/run_integration_tests.yml | 6 ++++++ .../integration_tests/dbt_project.yml | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_integration_tests.yml b/.github/workflows/run_integration_tests.yml index 4ef336e4..bcaa1d2a 100644 --- a/.github/workflows/run_integration_tests.yml +++ b/.github/workflows/run_integration_tests.yml @@ -48,6 +48,8 @@ jobs: POSTGRES_DBT_PASSWORD: ${{ secrets.POSTGRES_DBT_PASSWORD }} POSTGRES_DBT_DBNAME: ${{ secrets.POSTGRES_DBT_DBNAME }} POSTGRES_DBT_SCHEMA: ${{ inputs.schema }} + AIRBYTE_DATABASE: "postgres" + AIRBYTE_SCHEMA: ${{ inputs.schema }} run: | poetry run dbt deps poetry run dbt run --target postgres --full-refresh @@ -61,6 +63,8 @@ jobs: SNOWFLAKE_DBT_ROLE: ${{ secrets.SNOWFLAKE_DBT_DATABASE }} SNOWFLAKE_DBT_WAREHOUSE: ${{ secrets.SNOWFLAKE_DBT_WAREHOUSE }} SNOWFLAKE_DBT_SCHEMA: ${{ inputs.schema }} + AIRBYTE_DATABASE: "INTEGRATION_TEST_DESTINATION" + AIRBYTE_SCHEMA: ${{ inputs.schema }} run: | poetry run dbt deps poetry run dbt run --target snowflake --full-refresh @@ -71,6 +75,8 @@ jobs: BIGQUERY_DBT_PROJECT: ${{ secrets.BIGQUERY_DBT_PROJECT }} BIGQUERY_DBT_DATASET: ${{ secrets.BIGQUERY_DBT_DATASET }} GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }} + AIRBYTE_DATABASE: "dataline-integration-testing" + AIRBYTE_SCHEMA: ${{ inputs.schema }} run: | poetry run dbt deps poetry run dbt run --target bigquery --full-refresh diff --git a/connectors/source_zendesk_support/integration_tests/dbt_project.yml b/connectors/source_zendesk_support/integration_tests/dbt_project.yml index 47995633..56c8d9ff 100644 --- a/connectors/source_zendesk_support/integration_tests/dbt_project.yml +++ b/connectors/source_zendesk_support/integration_tests/dbt_project.yml @@ -48,12 +48,12 @@ vars: # target_database: INTEGRATION_TEST_DESTINATION # target_schema: airbyte_dbt_zendesk_support - airbyte_database: postgres - airbyte_schema: airbyte_dbt_zendesk_support + airbyte_database: "{{ env_var('AIRBYTE_DATABASE') }}" + airbyte_schema: "{{ env_var('AIRBYTE_SCHEMA') }}" # Required by Fivetran dbt model - zendesk_database: postgres - zendesk_schema: airbyte_dbt_zendesk_support + zendesk_database: "{{ env_var('AIRBYTE_DATABASE') }}" + zendesk_schema: "{{ env_var('AIRBYTE_SCHEMA') }}" using_schedules: False using_domain_names: False