From ce60fb54b1a576fcc35fec911a9cf61320fb0e48 Mon Sep 17 00:00:00 2001 From: drethereum <71602799+drethereum@users.noreply.github.com> Date: Wed, 28 May 2025 21:59:07 -0600 Subject: [PATCH] confirm blocks temp workflow (#312) * confirm blocks temp workflow * schedule --- .../dbt_run_scheduled_confirm_blocks_temp.yml | 22 +++++++++++++++++++ .github/workflows/dbt_run_scheduled_main.yml | 2 +- .github/workflows/dbt_test_intraday.yml | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/dbt_run_scheduled_confirm_blocks_temp.yml diff --git a/.github/workflows/dbt_run_scheduled_confirm_blocks_temp.yml b/.github/workflows/dbt_run_scheduled_confirm_blocks_temp.yml new file mode 100644 index 0000000..fab31d8 --- /dev/null +++ b/.github/workflows/dbt_run_scheduled_confirm_blocks_temp.yml @@ -0,0 +1,22 @@ +name: dbt_run_scheduled_main +run-name: dbt_run_scheduled_main + +on: + workflow_dispatch: + branches: + - "main" + schedule: + - cron: '0 * * * *' + +concurrency: + group: ${{ github.workflow }} + +jobs: + called_workflow_template: + uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@pre-release/v4-beta + with: + warehouse: DBT_EMERGENCY + command_name: Run Main Models + command: | + dbt run -m "fsc_evm,tag:silver,tag:confirm_blocks" + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/dbt_run_scheduled_main.yml b/.github/workflows/dbt_run_scheduled_main.yml index 253ad79..458c625 100644 --- a/.github/workflows/dbt_run_scheduled_main.yml +++ b/.github/workflows/dbt_run_scheduled_main.yml @@ -15,5 +15,5 @@ jobs: with: command_name: Run Main Models command: | - dbt run -m "fsc_evm,tag:bronze,tag:core" "fsc_evm,tag:silver,tag:core" "fsc_evm,tag:gold,tag:core" "fsc_evm,tag:silver,tag:prices" "fsc_evm,tag:gold,tag:prices" "fsc_evm,tag:silver,tag:labels" "fsc_evm,tag:gold,tag:labels" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' + dbt run -m "fsc_evm,tag:bronze,tag:core" "fsc_evm,tag:silver,tag:core" "fsc_evm,tag:gold,tag:core" "fsc_evm,tag:silver,tag:prices" "fsc_evm,tag:gold,tag:prices" "fsc_evm,tag:silver,tag:labels" "fsc_evm,tag:gold,tag:labels" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' --exclude "fsc_evm,tag:silver,tag:confirm_blocks" secrets: inherit \ No newline at end of file diff --git a/.github/workflows/dbt_test_intraday.yml b/.github/workflows/dbt_test_intraday.yml index 4823fcd..8e39435 100644 --- a/.github/workflows/dbt_test_intraday.yml +++ b/.github/workflows/dbt_test_intraday.yml @@ -17,5 +17,5 @@ jobs: command_name: Run Observability & Recent Tests command: | dbt run -m "fsc_evm,tag:observability" - dbt test -m "fsc_evm,tag:recent_test" + dbt test -m "fsc_evm,tag:recent_test" --exclude "fsc_evm,tag:test_silver,tag:confirm_blocks" secrets: inherit \ No newline at end of file