diff --git a/.github/workflows/dbt_run_scheduled_curated.yml b/.github/workflows/dbt_run_scheduled_curated.yml index a1fe3e9..2a6f463 100644 --- a/.github/workflows/dbt_run_scheduled_curated.yml +++ b/.github/workflows/dbt_run_scheduled_curated.yml @@ -15,5 +15,5 @@ jobs: with: command_name: Run Curated Models command: | - dbt run -m "$PROJECT_NAME,tag:curated" "fsc_evm,tag:curated" + dbt run -m "$PROJECT_NAME,tag:curated" "fsc_evm,tag:curated" "fsc_evm,tag:streamline,tag:balances,tag:complete" "fsc_evm,tag:streamline,tag:balances,tag:records" "fsc_evm,tag:streamline,tag:balances,tag:realtime" "fsc_evm,tag:streamline,tag:stablecoin_reads,tag:complete" "fsc_evm,tag:streamline,tag:stablecoin_reads,tag:realtime" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' secrets: inherit \ No newline at end of file diff --git a/.github/workflows/dbt_run_scheduled_curated_daily.yml b/.github/workflows/dbt_run_scheduled_curated_daily.yml new file mode 100644 index 0000000..c22bf22 --- /dev/null +++ b/.github/workflows/dbt_run_scheduled_curated_daily.yml @@ -0,0 +1,19 @@ +name: dbt_run_scheduled_curated_daily +run-name: dbt_run_scheduled_curated_daily + +on: + workflow_dispatch: + branches: + - "main" + +concurrency: + group: ${{ github.workflow }} + +jobs: + called_workflow_template: + uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main + with: + command_name: Run Curated Daily Models + command: | + dbt run -m "fsc_evm,tag:silver,tag:balances" "fsc_evm,tag:gold,tag:balances" "fsc_evm,tag:curated_daily" + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/dbt_run_streamline_reads_history.yml b/.github/workflows/dbt_run_streamline_reads_history.yml new file mode 100644 index 0000000..c488222 --- /dev/null +++ b/.github/workflows/dbt_run_streamline_reads_history.yml @@ -0,0 +1,19 @@ +name: dbt_run_streamline_reads_history +run-name: dbt_run_streamline_reads_history + +on: + workflow_dispatch: + branches: + - "main" + +concurrency: + group: ${{ github.workflow }} + +jobs: + called_workflow_template: + uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main + with: + command_name: Run Reads History Models + command: | + dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m "fsc_evm,tag:streamline,tag:stablecoin_reads,tag:complete" "fsc_evm,tag:streamline,tag:stablecoin_reads,tag:history" + secrets: inherit \ No newline at end of file diff --git a/models/sources.yml b/models/sources.yml index 6d800af..dfd8061 100644 --- a/models/sources.yml +++ b/models/sources.yml @@ -17,6 +17,7 @@ sources: - name: balances_erc20 - name: balances_native - name: state_tracer + - name: stablecoin_reads - name: crosschain_silver database: >- {{ 'CROSSCHAIN_DEV' if '_DEV' in target.database.upper() else 'CROSSCHAIN' }} @@ -30,6 +31,12 @@ sources: - name: complete_provider_prices - name: complete_token_asset_metadata - name: complete_token_prices + - name: tokens_stablecoins + - name: crosschain_gold + database: crosschain + schema: core + tables: + - name: dim_dates - name: crosschain_public database: crosschain schema: bronze_public diff --git a/packages.yml b/packages.yml index 24f6a38..0b7fec8 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v4.37.1 + revision: v4.38.6