mirror of
https://github.com/FlipsideCrypto/core-models.git
synced 2026-02-06 17:46:46 +00:00
Merge pull request #75 from FlipsideCrypto/AN-5578/latency-upgrades
updates
This commit is contained in:
commit
63b58d931a
6
.github/workflows/dbt_run_scheduled_abis.yml
vendored
6
.github/workflows/dbt_run_scheduled_abis.yml
vendored
@ -42,4 +42,8 @@ jobs:
|
||||
|
||||
- name: Update ABI models
|
||||
run: |
|
||||
dbt run -m "fsc_evm,tag:silver_abis" "fsc_evm,tag:gold_abis"
|
||||
dbt run -m "fsc_evm,tag:silver_abis" "fsc_evm,tag:gold_abis"
|
||||
|
||||
- name: Kick off decoded logs history, if there are new ABIs from users
|
||||
run: |
|
||||
dbt run-operation fsc_evm.run_decoded_logs_history
|
||||
@ -1,45 +0,0 @@
|
||||
name: dbt_run_scheduled_decoded_logs_history_user_abis
|
||||
run-name: dbt_run_scheduled_decoded_logs_history_user_abis
|
||||
|
||||
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: Kick off decoded logs history, if there are new ABIs from users
|
||||
run: |
|
||||
dbt run-operation fsc_evm.run_decoded_logs_history
|
||||
@ -5,6 +5,5 @@ dbt_run_scheduled_decoded_logs,"8,38 * * * *"
|
||||
dbt_test_intraday,"39 */4 * * *"
|
||||
dbt_test_daily,"22 8 * * *"
|
||||
dbt_test_monthly,"5 7 28 * *"
|
||||
dbt_run_scheduled_abis,"11 */12 * * *"
|
||||
dbt_run_streamline_decoded_logs_history,"5 22 * * 6"
|
||||
dbt_run_scheduled_decoded_logs_history_user_abis,"38 23 * * *"
|
||||
dbt_run_scheduled_abis,"11 23 * * *"
|
||||
dbt_run_streamline_decoded_logs_history,"5 22 * * 6"
|
||||
|
Loading…
Reference in New Issue
Block a user