This commit is contained in:
Shah Newaz Khan 2025-03-03 17:51:01 -08:00 committed by GitHub
commit fcb5786137
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 11 deletions

View File

@ -1,12 +1,12 @@
# 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: "<evm_chain>_models" # replace with the name of the chain
name: "three_models" # replace with the name of the chain
version: "1.0.0"
config-version: 2
# This setting configures which "profile" dbt uses for this project.
profile: "<evm_chain>" # replace with the name of the chain
profile: "three" # replace with the name of the chain
# 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
@ -26,7 +26,7 @@ clean-targets: # directories to be removed by `dbt clean`
- "dbt_packages"
tests:
<evm_chain>_models: # replace with the name of the chain
three_models: # replace with the name of the chain
+store_failures: true # all tests
fsc_evm:
+store_failures: true
@ -41,7 +41,7 @@ on-run-end:
dispatch:
- macro_namespace: dbt
search_order:
- <evm_chain>-models
- three-models
- dbt_snowflake_query_tags
- dbt
@ -53,7 +53,7 @@ query-comment:
# Full documentation: https://docs.getdbt.com/docs/configuring-models
models:
<evm_chain>_models: # replace with the name of the chain
three_models: # replace with the name of the chain
+copy_grants: true
+persist_docs:
relation: true
@ -104,23 +104,25 @@ vars:
# The keys correspond to dbt profiles and are case sensitive
dev:
API_INTEGRATION:
EXTERNAL_FUNCTION_URI:
EXTERNAL_FUNCTION_URI: jkkkhrx4vf.execute-api.us-east-1.amazonaws.com/prod/
ROLES:
- AWS_LAMBDA_<EVM_CHAIN>_API # replace with the name of the chain
- AWS_LAMBDA_THREE_API # replace with the name of the chain
- INTERNAL_DEV
prod:
API_INTEGRATION:
EXTERNAL_FUNCTION_URI:
ROLES:
- AWS_LAMBDA_<EVM_CHAIN>_API # replace with the name of the chain
- AWS_LAMBDA_THREE_API # replace with the name of the chain
- INTERNAL_DEV
- DBT_CLOUD_<EVM_CHAIN> # replace with the name of the chain
- DBT_CLOUD_THREE # replace with the name of the chain
#### STREAMLINE 2.0 END ####
#### FSC_EVM BEGIN ####
GLOBAL_PROD_DB_NAME: "three"
# Please visit https://github.com/FlipsideCrypto/fsc-evm/wiki for more information on required and optional variables
#### FSC_EVM END ####

View File

@ -1,3 +1,3 @@
packages:
- git: https://github.com/FlipsideCrypto/fsc-evm.git
revision: <insert-version-v3+>
revision: v3.26.0

View File

@ -1,4 +1,4 @@
<evm_chain>:
three:
target: prod
outputs:
dev: