mirror of
https://github.com/FlipsideCrypto/optimism-models.git
synced 2026-02-06 13:26:44 +00:00
gha (#314)
This commit is contained in:
parent
0e33c54341
commit
d259f4602f
@ -4,8 +4,8 @@ run-name: dbt_run_operation_reorg
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# Runs at minute 50 every 8 hours (see https://crontab.guru)
|
||||
- cron: '50 */8 * * *'
|
||||
# Runs at minute 50 every Monday (see https://crontab.guru)
|
||||
- cron: '50 0 * * 1'
|
||||
|
||||
env:
|
||||
DBT_PROFILES_DIR: ./
|
||||
@ -51,5 +51,5 @@ jobs:
|
||||
|
||||
- name: Execute block_reorg macro
|
||||
run: |
|
||||
dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '12'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log
|
||||
dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '169'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log
|
||||
|
||||
Loading…
Reference in New Issue
Block a user