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 #74 from dbt-labs/basic-v1-compatibility
Browse files Browse the repository at this point in the history
Set dbt version limit, add changelog, change CI python and remove war…
  • Loading branch information
joellabes authored Dec 4, 2021
2 parents f63ae8b + 7d27fa3 commit a265954
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.3-stretch
- image: cimg/python:3.9.9
- image: circleci/postgres:9.6.5-alpine-ram

steps:
Expand All @@ -21,8 +21,8 @@ jobs:
- run:
name: "Setup dbt"
command: |
python3 -m venv venv
. venv/bin/activate
python3 -m venv dbt_venv
. dbt_venv/bin/activate
pip install --upgrade pip setuptools
pip install --pre dbt
Expand All @@ -33,40 +33,40 @@ jobs:
- run:
name: "Run Tests - Redshift"
command: |
. venv/bin/activate
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps
dbt --warn-error seed --target redshift
dbt --warn-error run --target redshift --full-refresh
dbt --warn-error run --target redshift
dbt deps
dbt seed --target redshift
dbt run --target redshift --full-refresh
dbt run --target redshift
- run:
name: "Run Tests - Snowflake"
command: |
. venv/bin/activate
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps
dbt --warn-error seed --target snowflake
dbt --warn-error run --target snowflake --full-refresh
dbt --warn-error run --target snowflake
dbt deps
dbt seed --target snowflake
dbt run --target snowflake --full-refresh
dbt run --target snowflake
- run:
name: "Run Tests - BigQuery"
environment:
BIGQUERY_SERVICE_KEY_PATH: "/home/circleci/bigquery-service-key.json"

command: |
. venv/bin/activate
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps
dbt --warn-error seed --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
dbt deps
dbt seed --target bigquery
dbt run --target bigquery --full-refresh
dbt run --target bigquery
- save_cache:
key: deps1-{{ .Branch }}
paths:
- "venv"
- "dbt_venv"
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# segment v0.6.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.
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'segment'
version: '0.6.0'
require-dbt-version: ">=0.17.0"
require-dbt-version: [">=0.17.0", "<1.1.0"]
config-version: 2

source-paths: ["models"]
Expand Down

0 comments on commit a265954

Please sign in to comment.