adjust scheduling

This commit is contained in:
Austin 2024-10-16 14:13:56 -04:00
parent 529c1a58e6
commit 88be5d10bb
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,5 @@
workflow_name,workflow_schedule workflow_name,workflow_schedule
dbt_run_streamline_chainhead,"3,33 * * * *" dbt_run_streamline_chainhead,"3,33 * * * *"
dbt_run_scheduled_non_realtime,"15,45 * * * *" dbt_run_scheduled_non_realtime,"19,49 * * * *"
dbt_test_tasks,"8 * * * *" dbt_test_tasks,"8 * * * *"
dbt_run_streamline_decoder,"23,53 * * * *" dbt_run_streamline_decoder,"27,57 * * * *"
1 workflow_name workflow_schedule
2 dbt_run_streamline_chainhead 3,33 * * * *
3 dbt_run_scheduled_non_realtime 15,45 * * * * 19,49 * * * *
4 dbt_test_tasks 8 * * * *
5 dbt_run_streamline_decoder 23,53 * * * * 27,57 * * * *

12
makefile Normal file
View File

@ -0,0 +1,12 @@
DBT_TARGET ?= dev
deploy_new_github_action:
dbt seed -s github_actions__workflows -t $(DBT_TARGET)
dbt run -m "berachain_models,tag:gha_tasks" --full-refresh -t $(DBT_TARGET)
ifeq ($(findstring dev,$(DBT_TARGET)),dev)
dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":False}' -t $(DBT_TARGET)
else
dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":True}' -t $(DBT_TARGET)
endif
.PHONY: deploy_new_github_action