Skip to content

Commit

Permalink
allow dbt-cloud in project files 1.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-connors-3 committed Sep 5, 2023
1 parent fa8f55c commit 9b548c5
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
9 changes: 9 additions & 0 deletions schemas/1.5/dbt_project-1.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
"type": "number",
"default": 2
},
"dbt-cloud": {
"type": "object",
"additionalProperties": true,
"properties": {
"project-id": {
"type": "number"
}
}
},
"dispatch": {
"type": "array",
"items": {
Expand Down
9 changes: 9 additions & 0 deletions schemas/1.6/dbt_project-1.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
"type": "number",
"default": 2
},
"dbt-cloud": {
"type": "object",
"additionalProperties": true,
"properties": {
"project-id": {
"type": "number"
}
}
},
"dispatch": {
"type": "array",
"items": {
Expand Down
4 changes: 4 additions & 0 deletions tests/1.5/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ clean-targets: # directories to be removed by `dbt clean`
# In this example config, we tell dbt to build all models in the example/ directory
# as tables. These settings can be overridden in the individual model files
# using the `{{ config(...) }}` macro.
dbt-cloud:
project-id: 12345
extra: true

models:
test:
# Config indicated by + and applies to all files under models/example/
Expand Down
4 changes: 4 additions & 0 deletions tests/1.6/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ clean-targets: # directories to be removed by `dbt clean`
# In this example config, we tell dbt to build all models in the example/ directory
# as tables. These settings can be overridden in the individual model files
# using the `{{ config(...) }}` macro.
dbt-cloud:
project-id: 12345
extra: true

models:
test:
# Config indicated by + and applies to all files under models/example/
Expand Down

0 comments on commit 9b548c5

Please sign in to comment.