mirror of
https://github.com/FlipsideCrypto/mantle-models.git
synced 2026-02-06 15:26:45 +00:00
scores
This commit is contained in:
parent
d6d67e6910
commit
14e8fc3094
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"
|
||||
@ -8,4 +8,5 @@ dbt_test_daily,"23 8 * * *"
|
||||
dbt_test_monthly,"6 7 28 * *"
|
||||
dbt_run_scheduled_abis,"32 23 * * *"
|
||||
dbt_run_streamline_decoded_logs_history,"6 22 * * 6"
|
||||
dbt_run_full_observability,"0 20 1 * *"
|
||||
dbt_run_full_observability,"0 20 1 * *"
|
||||
dbt_run_scheduled_scores,"15 5 * * *"
|
||||
|
@ -96,7 +96,7 @@ models:
|
||||
vertex:
|
||||
+enabled: true
|
||||
scores_package:
|
||||
+enabled: false
|
||||
+enabled: true
|
||||
|
||||
vars:
|
||||
"dbt_date:time_zone": GMT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user