mirror of
https://github.com/FlipsideCrypto/core-models.git
synced 2026-02-06 13:06:59 +00:00
commit
97fd7b384a
46
.github/workflows/dbt_run_scheduled_scores.yml
vendored
Normal file
46
.github/workflows/dbt_run_scheduled_scores.yml
vendored
Normal 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"
|
||||
|
||||
@ -7,4 +7,5 @@ dbt_test_daily,"22 8 * * *"
|
||||
dbt_test_monthly,"5 7 28 * *"
|
||||
dbt_run_scheduled_abis,"11 23 * * *"
|
||||
dbt_run_streamline_decoded_logs_history,"5 22 * * 6"
|
||||
dbt_run_full_observability,"0 19 1 * *"
|
||||
dbt_run_full_observability,"0 19 1 * *"
|
||||
dbt_run_scheduled_scores,"1 5 * * *"
|
||||
|
@ -89,6 +89,8 @@ models:
|
||||
+enabled: true
|
||||
decoded_logs:
|
||||
+enabled: true
|
||||
scores_package:
|
||||
+enabled: true
|
||||
|
||||
vars:
|
||||
"dbt_date:time_zone": GMT
|
||||
@ -184,4 +186,11 @@ vars:
|
||||
# STATS_TOKEN_ADDRESS: '' ### REQUIRED
|
||||
|
||||
### CURATED_PACKAGE VARIABLES END ###
|
||||
|
||||
### SCORES_PACKAGE VARIABLES BEGIN ###
|
||||
|
||||
### SCORES_FULL_RELOAD_MODE: True
|
||||
|
||||
### SCORES_PACKAGE VARIABLES END ###
|
||||
|
||||
#### FSC_EVM END ####
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
packages:
|
||||
- git: https://github.com/FlipsideCrypto/fsc-evm.git
|
||||
revision: v3.13.5
|
||||
revision: v3.14.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user