Skip to content

Commit

Permalink
Merge pull request #96 from fishtown-analytics/bump-utils-0.5.0
Browse files Browse the repository at this point in the history
Bump utils 0.5.0
  • Loading branch information
Claire Carroll authored Jul 31, 2020
2 parents fcbf42a + a7cacc8 commit 30c28d7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,35 @@ jobs:
command: |
. venv/bin/activate
cd integration_tests
dbt deps --target postgres
dbt seed --target postgres --full-refresh
dbt run --target postgres --full-refresh --vars 'update: false'
dbt run --target postgres --vars 'update: true'
dbt test --target postgres
dbt --warn-error deps --target postgres
dbt --warn-error seed --target postgres --full-refresh
dbt --warn-error run --target postgres --full-refresh --vars 'update: false'
dbt --warn-error run --target postgres --vars 'update: true'
dbt --warn-error test --target postgres
- run:
name: "Run Tests - Redshift"
command: |
. venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target redshift
dbt seed --target redshift --full-refresh
dbt run --target redshift --full-refresh --vars 'update: false'
dbt run --target redshift --vars 'update: true'
dbt test --target redshift
dbt --warn-error deps --target redshift
dbt --warn-error seed --target redshift --full-refresh
dbt --warn-error run --target redshift --full-refresh --vars 'update: false'
dbt --warn-error run --target redshift --vars 'update: true'
dbt --warn-error test --target redshift
- run:
name: "Run Tests - Snowflake"
command: |
. venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target snowflake
dbt seed --target snowflake --full-refresh
dbt run --target snowflake --full-refresh --vars 'update: false'
dbt run --target snowflake --vars 'update: true'
dbt test --target snowflake
dbt --warn-error deps --target snowflake
dbt --warn-error seed --target snowflake --full-refresh
dbt --warn-error run --target snowflake --full-refresh --vars 'update: false'
dbt --warn-error run --target snowflake --vars 'update: true'
dbt --warn-error test --target snowflake
- run:
name: "Run Tests - BigQuery"
Expand All @@ -78,11 +78,11 @@ jobs:
. venv/bin/activate
echo `pwd`
cd integration_tests
dbt deps --target bigquery
dbt seed --target bigquery --full-refresh
dbt run --target bigquery --full-refresh --vars 'update: false'
dbt run --target bigquery --vars 'update: true'
dbt test --target bigquery
dbt --warn-error deps --target bigquery
dbt --warn-error seed --target bigquery --full-refresh
dbt --warn-error run --target bigquery --full-refresh --vars 'update: false'
dbt --warn-error run --target bigquery --vars 'update: true'
dbt --warn-error test --target bigquery
- save_cache:
key: deps1-{{ .Branch }}
Expand Down
6 changes: 3 additions & 3 deletions integration_tests/ci/sample.profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ integration_tests:
host: "{{ env_var('POSTGRES_TEST_HOST') }}"
user: "{{ env_var('POSTGRES_TEST_USER') }}"
pass: "{{ env_var('POSTGRES_TEST_PASS') }}"
port: "{{ env_var('POSTGRES_TEST_PORT') }}"
port: "{{ env_var('POSTGRES_TEST_PORT') | as_number }}"
dbname: "{{ env_var('POSTGRES_TEST_DBNAME') }}"
schema: snowplow_integration_tests_postgres
threads: 1
Expand All @@ -25,7 +25,7 @@ integration_tests:
user: "{{ env_var('REDSHIFT_TEST_USER') }}"
pass: "{{ env_var('REDSHIFT_TEST_PASS') }}"
dbname: "{{ env_var('REDSHIFT_TEST_DBNAME') }}"
port: "{{ env_var('REDSHIFT_TEST_PORT') }}"
port: "{{ env_var('REDSHIFT_TEST_PORT') | as_number }}"
schema: snowplow_integration_tests_redshift
threads: 1

Expand All @@ -36,7 +36,7 @@ integration_tests:
project: "{{ env_var('BIGQUERY_TEST_DATABASE') }}"
schema: snowplow_integration_tests_bigquery
threads: 1

snowflake:
type: snowflake
account: "{{ env_var('SNOWFLAKE_TEST_ACCOUNT') }}"
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: fishtown-analytics/dbt_utils
version: ">=0.2.5"
version: [">=0.4.0", "<0.6.0"]

0 comments on commit 30c28d7

Please sign in to comment.