diff --git a/products/cdbg/dbt_project.yml b/products/cdbg/dbt_project.yml new file mode 100644 index 000000000..84891832c --- /dev/null +++ b/products/cdbg/dbt_project.yml @@ -0,0 +1,21 @@ +name: "cdbg" + +profile: "dcp-de-postgres" + +model-paths: ["models"] + +tests: + +store_failures: true + schema: "_tests" + +models: + cdbg: + staging: + +materialized: view + intermediate: + +materialized: view + product: + +materialized: table + +flags: + fail-fast: true diff --git a/products/cdbg/profiles.yml b/products/cdbg/profiles.yml new file mode 100644 index 000000000..671252586 --- /dev/null +++ b/products/cdbg/profiles.yml @@ -0,0 +1,11 @@ +dcp-de-postgres: + target: dev + outputs: + dev: + type: postgres + host: "{{ env_var('BUILD_ENGINE_HOST') }}" + user: "{{ env_var('BUILD_ENGINE_USER') }}" + password: "{{ env_var('BUILD_ENGINE_PASSWORD') }}" + port: "{{ env_var('BUILD_ENGINE_PORT') | as_number }}" + dbname: "{{ env_var('BUILD_ENGINE_DB') }}" + schema: "{{ env_var('BUILD_ENGINE_SCHEMA') }}"