Merge branch 'main' into add-weth-native

This commit is contained in:
Matt Romano 2025-03-07 15:11:25 -08:00 committed by GitHub
commit 0636e66cb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,46 @@
name: dbt_run_scheduled_scores
run-name: dbt_run_scheduled_scores
on:
workflow_dispatch:
branches:
- "main"
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: Update scores
run: |
dbt run -m "fsc_evm,tag:scores"

View File

@ -6,4 +6,5 @@ dbt_test_intraday,"9 */4 * * *"
dbt_test_daily,"34 7 * * *"
dbt_run_scheduled_decoded_logs,"55 * * * *"
dbt_run_scheduled_abis,"33 23 * * *"
dbt_run_scheduled_decoded_logs_history,"31 22 * * 6"
dbt_run_scheduled_decoded_logs_history,"31 22 * * 6"
dbt_run_scheduled_scores,"3 5 * * *"
1 workflow_name workflow_schedule
6 dbt_test_daily 34 7 * * *
7 dbt_run_scheduled_decoded_logs 55 * * * *
8 dbt_run_scheduled_abis 33 23 * * *
9 dbt_run_scheduled_decoded_logs_history 31 22 * * 6
10 dbt_run_scheduled_scores 3 5 * * *

View File

@ -86,6 +86,8 @@ models:
+enabled: true
decoded_logs:
+enabled: true
scores_package:
+enabled: true
vars:
"dbt_date:time_zone": GMT
@ -159,6 +161,7 @@ vars:
### PRICES ###
## REQUIRED
MAIN_PRICES_TOKEN_WETH_ENABLED: true
PRICES_PROVIDER_PLATFORMS: ["boba network", "boba"]