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

Commit a265954

Browse files
authored
Merge pull request #74 from dbt-labs/basic-v1-compatibility
Set dbt version limit, add changelog, change CI python and remove war…
2 parents f63ae8b + 7d27fa3 commit a265954

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

.circleci/config.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2
44
jobs:
55
build:
66
docker:
7-
- image: circleci/python:3.6.3-stretch
7+
- image: cimg/python:3.9.9
88
- image: circleci/postgres:9.6.5-alpine-ram
99

1010
steps:
@@ -21,8 +21,8 @@ jobs:
2121
- run:
2222
name: "Setup dbt"
2323
command: |
24-
python3 -m venv venv
25-
. venv/bin/activate
24+
python3 -m venv dbt_venv
25+
. dbt_venv/bin/activate
2626
2727
pip install --upgrade pip setuptools
2828
pip install --pre dbt
@@ -33,40 +33,40 @@ jobs:
3333
- run:
3434
name: "Run Tests - Redshift"
3535
command: |
36-
. venv/bin/activate
36+
. dbt_venv/bin/activate
3737
echo `pwd`
3838
cd integration_tests
39-
dbt --warn-error deps
40-
dbt --warn-error seed --target redshift
41-
dbt --warn-error run --target redshift --full-refresh
42-
dbt --warn-error run --target redshift
39+
dbt deps
40+
dbt seed --target redshift
41+
dbt run --target redshift --full-refresh
42+
dbt run --target redshift
4343
4444
- run:
4545
name: "Run Tests - Snowflake"
4646
command: |
47-
. venv/bin/activate
47+
. dbt_venv/bin/activate
4848
echo `pwd`
4949
cd integration_tests
50-
dbt --warn-error deps
51-
dbt --warn-error seed --target snowflake
52-
dbt --warn-error run --target snowflake --full-refresh
53-
dbt --warn-error run --target snowflake
50+
dbt deps
51+
dbt seed --target snowflake
52+
dbt run --target snowflake --full-refresh
53+
dbt run --target snowflake
5454
5555
- run:
5656
name: "Run Tests - BigQuery"
5757
environment:
5858
BIGQUERY_SERVICE_KEY_PATH: "/home/circleci/bigquery-service-key.json"
5959

6060
command: |
61-
. venv/bin/activate
61+
. dbt_venv/bin/activate
6262
echo `pwd`
6363
cd integration_tests
64-
dbt --warn-error deps
65-
dbt --warn-error seed --target bigquery
66-
dbt --warn-error run --target bigquery --full-refresh
67-
dbt --warn-error run --target bigquery
64+
dbt deps
65+
dbt seed --target bigquery
66+
dbt run --target bigquery --full-refresh
67+
dbt run --target bigquery
6868
6969
- save_cache:
7070
key: deps1-{{ .Branch }}
7171
paths:
72-
- "venv"
72+
- "dbt_venv"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# segment v0.6.1
2+
🚨 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.

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'segment'
22
version: '0.6.0'
3-
require-dbt-version: ">=0.17.0"
3+
require-dbt-version: [">=0.17.0", "<1.1.0"]
44
config-version: 2
55

66
source-paths: ["models"]

0 commit comments

Comments
 (0)