Skip to content

Commit

Permalink
Upgrade for dbt 1.8.x (#309)
Browse files Browse the repository at this point in the history
* Upgrade for dbt 1.8.x

* Add dbt-core install for trino tests

* Push trino version to 1.8.x

* Revert changes to schema

* Add TestsConfigDeprecation
  • Loading branch information
clausherther authored Jun 11, 2024
1 parent bb37a20 commit 4249dcc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DBT_PROFILES_DIR: ./integration_tests/ci
DBT_PROJECT_DIR: ./integration_tests
BIGQUERY_SERVICE_KEY_PATH: "/home/circleci/bigquery-service-key.json"
DBT_VERSION: 1.7.*
DBT_VERSION: 1.8.*

steps:
- checkout
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
environment:
DBT_PROFILES_DIR: ./integration_tests/ci
DBT_PROJECT_DIR: ./integration_tests
DBT_VERSION: 1.7.*
DBT_VERSION: 1.8.*

steps:
- checkout
Expand Down Expand Up @@ -145,16 +145,17 @@ jobs:
environment:
DBT_PROFILES_DIR: ./integration_tests/ci
DBT_PROJECT_DIR: ./integration_tests
DBT_VERSION: 1.7.*
DBT_VERSION: 1.8.*

steps:
- checkout
- run: *pip-install-core
- run:
name: Install dbt adapter packages
command: |
python3 -m venv venv
. venv/bin/activate
pip install dbt-spark "dbt-trino==$DBT_VERSION"
pip install "dbt-trino==$DBT_VERSION"
- run: *dbt-deps
- setup_remote_docker
- run:
Expand Down
4 changes: 0 additions & 4 deletions integration_tests/ci/profiles.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
config:
send_anonymous_usage_stats: False
use_colors: True

integration_tests:
outputs:
postgres:
Expand Down
7 changes: 7 additions & 0 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ dispatch:
- macro_namespace: dbt_expectations
search_order: ['dbt_expectations_integration_tests', 'dbt_expectations']

flags:
partial_parse: True
send_anonymous_usage_stats: False
warn_error_options:
silence: # To silence or ignore dbt 1.8.x upgrade warnings
- TestsConfigDeprecation

vars:
'dbt_date:time_zone': 'America/Los_Angeles'
quoting:
Expand Down

0 comments on commit 4249dcc

Please sign in to comment.