Skip to content

Commit

Permalink
Merge pull request #39 from airbytehq/marcos/udpate-workflow
Browse files Browse the repository at this point in the history
add more vars
  • Loading branch information
marcosmarxm authored Jul 29, 2024
2 parents aa0e620 + d6e70d6 commit fda03de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,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
Expand All @@ -63,6 +65,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
Expand All @@ -74,6 +78,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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fda03de

Please sign in to comment.