Skip to content

Commit

Permalink
add cdbg product folder and dbt project
Browse files Browse the repository at this point in the history
  • Loading branch information
damonmcc committed Dec 31, 2024
1 parent 10c2df7 commit 812820b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions products/cdbg/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions products/cdbg/profiles.yml
Original file line number Diff line number Diff line change
@@ -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') }}"

0 comments on commit 812820b

Please sign in to comment.