near-models/dbt_project.yml

40 lines
1.3 KiB
YAML
Raw Normal View History

2022-01-12 19:15:26 +00:00
# Name your project! Project names should contain only lowercase characters
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: "near"
version: "1.0.0"
config-version: 2
# This setting configures which "profile" dbt uses for this project.
2022-05-25 04:56:10 +00:00
profile: "near"
2022-01-12 19:15:26 +00:00
# These configurations specify where dbt should look for different types of files.
# The `source-paths` config, for example, states that models in this project can be
# found in the "models/" directory. You probably won't need to change these!
2022-05-25 04:56:10 +00:00
model-paths: ["models"]
2022-01-12 19:15:26 +00:00
analysis-paths: ["analysis"]
test-paths: ["tests"]
2022-05-25 04:56:10 +00:00
seed-paths: ["data"]
2022-01-12 19:15:26 +00:00
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
target-path: "target" # directory which will store compiled SQL files
clean-targets: # directories to be removed by `dbt clean`
- "target"
- "dbt_modules"
2022-05-25 04:56:10 +00:00
- "dbt_packages"
2022-01-12 19:15:26 +00:00
# Configuring models
# Full documentation: https://docs.getdbt.com/docs/configuring-models
# 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.
models:
2022-05-25 04:56:10 +00:00
+post-hook: "{{ grant_data_share() }}"
2022-05-19 12:49:36 +00:00
tests:
+severity: warn # all tests
2022-05-25 04:56:10 +00:00
vars:
"dbt_date:time_zone": GMT