Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #44 from dbt-labs/v1-full-compatibility
Browse files Browse the repository at this point in the history
Breaking v1 changes
  • Loading branch information
joellabes authored Dec 7, 2021
2 parents d6ba440 + 97aae67 commit 2668af6
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 40 deletions.
68 changes: 34 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
. dbt_venv/bin/activate
pip install --upgrade pip setuptools
pip install --pre dbt
pip install --pre dbt-core dbt-postgres dbt-redshift dbt-snowflake dbt-bigquery
mkdir -p ~/.dbt
cp integration_tests/ci/sample.profiles.yml ~/.dbt/profiles.yml
Expand All @@ -41,47 +41,47 @@ jobs:
command: |
. dbt_venv/bin/activate
cd integration_tests
dbt deps --target postgres
dbt run-operation drop_audit_schema --target postgres
dbt run --target postgres --full-refresh
dbt run --target postgres
dbt --warn-error deps --target postgres
dbt --warn-error run-operation drop_audit_schema --target postgres
dbt --warn-error run --target postgres --full-refresh
dbt --warn-error run --target postgres
dbt run-operation drop_audit_schema --target postgres
dbt run-operation create_legacy_audit_table --target postgres
dbt run --target postgres --full-refresh
dbt run --target postgres
dbt --warn-error run-operation drop_audit_schema --target postgres
dbt --warn-error run-operation create_legacy_audit_table --target postgres
dbt --warn-error run --target postgres --full-refresh
dbt --warn-error run --target postgres
- run:
name: "Run Tests - Redshift"
command: |
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target redshift
dbt run-operation drop_audit_schema --target redshift
dbt run --target redshift --full-refresh
dbt run --target redshift
dbt --warn-error deps --target redshift
dbt --warn-error run-operation drop_audit_schema --target redshift
dbt --warn-error run --target redshift --full-refresh
dbt --warn-error run --target redshift
dbt run-operation drop_audit_schema --target redshift
dbt run-operation create_legacy_audit_table --target redshift
dbt run --target redshift --full-refresh
dbt run --target redshift
dbt --warn-error run-operation drop_audit_schema --target redshift
dbt --warn-error run-operation create_legacy_audit_table --target redshift
dbt --warn-error run --target redshift --full-refresh
dbt --warn-error run --target redshift
- run:
name: "Run Tests - Snowflake"
command: |
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target snowflake
dbt run-operation drop_audit_schema --target snowflake
dbt run --target snowflake --full-refresh
dbt run --target snowflake
dbt --warn-error deps --target snowflake
dbt --warn-error run-operation drop_audit_schema --target snowflake
dbt --warn-error run --target snowflake --full-refresh
dbt --warn-error run --target snowflake
dbt run-operation drop_audit_schema --target snowflake
dbt run-operation create_legacy_audit_table --target snowflake
dbt run --target snowflake --full-refresh
dbt run --target snowflake
dbt --warn-error run-operation drop_audit_schema --target snowflake
dbt --warn-error run-operation create_legacy_audit_table --target snowflake
dbt --warn-error run --target snowflake --full-refresh
dbt --warn-error run --target snowflake
- run:
name: "Run Tests - BigQuery"
Expand All @@ -92,15 +92,15 @@ jobs:
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target bigquery
dbt run-operation drop_audit_schema --target bigquery
dbt run --target bigquery --full-refresh
dbt run --target bigquery
dbt run-operation drop_audit_schema --target bigquery
dbt run-operation create_legacy_audit_table --target bigquery
dbt run --target bigquery --full-refresh
dbt run --target bigquery
dbt --warn-error deps --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run-operation create_legacy_audit_table --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
- save_cache:
key: deps1-{{ .Branch }}
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# dbt-event-logging v0.6.0
This release supports any version (minor and patch) of v1, which means far less need for compatibility releases in the future.

## Under the hood
- Change `require-dbt-version` to `[">=1.0.0", "<2.0.0"]`
- Bump dbt-utils dependency
- Replace `source-paths` and `data-paths` with `model-paths` and `seed-paths` respectively
- Rename `data` and `analysis` directories to `seeds` and `analyses` respectively
- Replace `dbt_modules` with `dbt_packages` in `clean-targets`

# dbt-event-logging v0.5.1
🚨 This is a compatibility release in preparation for `dbt-core` v1.0.0 (🎉). Projects using this version with `dbt-core` v1.0.x can expect to see a deprecation warning. This will be resolved in the next minor release.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name: 'logging'
version: '0.5.0'
config-version: 2

require-dbt-version: [">=0.20.0", "<1.1.0"]
require-dbt-version: [">=1.0.0", "<2.0.0"]

source-paths: ["models"]
analysis-paths: ["analysis"]
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
data-paths: ["data"]
seed-paths: ["seeds"]
macro-paths: ["macros"]

target-path: "target"
clean-targets:
- "target"
- "dbt_modules"
- "dbt_packages"


on-run-start:
Expand Down
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: dbt-labs/dbt_utils
version: [">=0.7.0", "<0.8.0"]
version: [">=0.8.0", "<0.9.0"]

0 comments on commit 2668af6

Please sign in to comment.