From 9432313adc4f48078f2f398454e8ef52ed5eca50 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Mon, 26 Aug 2024 16:30:18 +0200 Subject: [PATCH] pending todo so i don't forget --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6072f26..f806601 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,8 @@ To deploy: - The script is designed to send both success and failure messages to slack channels upon completion. To properly set this up, you will need to place a file called `slack_webhook_urls.txt` on the same path you drop `run_dbt.sh`. The file should have two lines: `SLACK_ALERT_WEBHOOK_URL=` and `SLACK_RECEIPT_WEBHOOK_URL=`. Setting up the slack channels and webhooks is outside of the scope of this readme. - Create a cron entry with `crontab -e` that runs the script. For example: `0 2 * * * /bin/bash /home/azureuser/run_dbt.sh` to run the dbt models every day at 2AM. +#TODO also explain how to deploy tests + To monitor: - The script writes output to a `dbt_run.log` file. You can check the contents to see what happened in the past runs. The exact location of the log file depends on how you set up the `run_dbt.sh` script. If you are unsure of where your logs are being written, check the script to find out.