Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix serverless sql #132

Merged
merged 18 commits into from
Apr 15, 2021
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ jobs:
- run: *install-dbt-sqlserver
- azure-cli/install
- run: *prep=connect
- run:
name: wake up server
command: |
cd test/integration
dbt debug --target azuresql_sqlcred
- run:
name: cnxn -- Azure SQL - SQL CRED user+pass
command: |
Expand Down Expand Up @@ -113,4 +118,7 @@ workflows:
- DBT_SYNAPSE_PROFILE
- connection-sqlserver: *profile
- integration-sqlserver: *profile
- integration-azuresql: *profile
- integration-azuresql:
<<: *profile
requires:
- connection-azuresql
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### v0.19.0.3

#### under the hood
- allow CI to work with the lower-cost serverless Azure SQL [#132](https://github.com/dbt-msft/dbt-sqlserver/pull/132)
### v0.19.0.2

#### fixes
Expand Down
21 changes: 20 additions & 1 deletion test/integration/azuresql.dbtspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,32 @@ target:
encrypt: yes
trust_cert: yes
threads: 1
projects:
- overrides: base
dbt_project_yml: &override-project
name: schema_tests
config-version: 2
version: '1.0.0'
models:
dbt_test_project:
+as_columnstore: false
- overrides: ephemeral
dbt_project_yml: *override-project
- overrides: incremental
dbt_project_yml: *override-project
- overrides: snapshot_strategy_timestamp
dbt_project_yml: *override-project
- overrides: snapshot_strategy_check_cols
dbt_project_yml: *override-project
- overrides: schema_tests
dbt_project_yml: *override-project
sequences:
test_dbt_empty: empty
test_dbt_base: base
test_dbt_ephemeral: ephemeral
test_dbt_incremental: incremental
test_dbt_snapshot_strategy_timestamp: snapshot_strategy_timestamp
# test_dbt_snapshot_strategy_check_cols: snapshot_strategy_check_cols
test_dbt_snapshot_strategy_check_cols: snapshot_strategy_check_cols
test_dbt_data_test: data_test
test_dbt_schema_test: schema_test
# test_dbt_ephemeral_data_tests: data_test_ephemeral_models