Merge branch 'main' into AN-5765/scores-ronin

This commit is contained in:
drethereum 2025-02-12 15:40:33 -07:00 committed by GitHub
commit 18411cb41a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 47 deletions

View File

@ -1,46 +0,0 @@
name: dbt_run_streamline_history_receipts_temp
run-name: dbt_run_streamline_history_receipts_temp
on:
workflow_dispatch:
schedule:
# Runs every 4 hours (see https://crontab.guru)
- cron: '1 */4 * * *'
env:
DBT_PROFILES_DIR: ./
ACCOUNT: "${{ vars.ACCOUNT }}"
ROLE: "${{ vars.ROLE }}"
USER: "${{ vars.USER }}"
PASSWORD: "${{ secrets.PASSWORD }}"
REGION: "${{ vars.REGION }}"
DATABASE: "${{ vars.DATABASE }}"
WAREHOUSE: "${{ vars.WAREHOUSE }}"
SCHEMA: "${{ vars.SCHEMA }}"
concurrency:
group: ${{ github.workflow }}
jobs:
run_dbt_jobs:
runs-on: ubuntu-latest
environment:
name: workflow_prod
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: install dependencies
run: |
pip install -r requirements.txt
dbt deps
- name: Run History Models
run: |
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m "fsc_evm,tag:streamline_core_complete_receipts_by_hash" "fsc_evm,tag:streamline_core_history_receipts_by_hash" "fsc_evm,tag:chainhead"

View File

@ -7,4 +7,5 @@ dbt_test_intraday,"9 */4 * * *"
dbt_test_daily,"34 7 * * *"
dbt_run_scheduled_abis,"33 23 * * *"
dbt_run_scheduled_decoded_logs_history,"31 22 * * 6"
dbt_run_scheduled_scores,"15 5 * * *"
dbt_run_scheduled_scores,"15 5 * * *"
dbt_run_streamline_history,"0 8 * * *"

1 workflow_name workflow_schedule
7 dbt_test_daily 34 7 * * *
8 dbt_run_scheduled_abis 33 23 * * *
9 dbt_run_scheduled_decoded_logs_history 31 22 * * 6
10 dbt_run_scheduled_scores 15 5 * * *
11 dbt_run_streamline_history 0 8 * * *