diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c24c87..bddb16b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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 @@ -33,24 +33,24 @@ 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" @@ -58,15 +58,15 @@ jobs: 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" diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9e65172 --- /dev/null +++ b/CHANGELOG.md @@ -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. \ No newline at end of file diff --git a/dbt_project.yml b/dbt_project.yml index ef4ea1b..14f7063 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -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"]