Skip to content

Commit

Permalink
AN-5423/reorg-cadence-pushbacks (#172)
Browse files Browse the repository at this point in the history
gha
  • Loading branch information
mattromano authored Nov 20, 2024
1 parent 9aa3368 commit 446ceb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dbt_run_operation_reorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ run-name: dbt_run_operation_reorg
on:
workflow_dispatch:
schedule:
# Runs at minute 40 every 8 hours (see https://crontab.guru)
- cron: '40 */8 * * *'
# Runs at minute 40 every Monday (see https://crontab.guru)
- cron: '40 0 * * 1'

env:
DBT_PROFILES_DIR: ./
Expand Down Expand Up @@ -51,7 +51,7 @@ 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
- name: Execute decoded_logs_cleanup macro
run: |
Expand Down

0 comments on commit 446ceb7

Please sign in to comment.