From 58f0eb1a16c64119d2bde12d2b3e73e1b176df4a Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Fri, 8 Nov 2024 10:50:24 -0700 Subject: [PATCH 1/7] Upgrading to heroku-24 From e2b51ab98d836777a6dd69988beb3c3632ef8ddc Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:41:56 -0700 Subject: [PATCH 2/7] Include a list of apt package names to be installed in a file named `Aptfile` (#335) * Upgrading to heroku-24 * Include a list of apt package names to be installed in a file named `Aptfile` --- Aptfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 Aptfile diff --git a/Aptfile b/Aptfile new file mode 100644 index 0000000..5664e30 --- /dev/null +++ b/Aptfile @@ -0,0 +1 @@ +git From a4f56848a4a477b8715543c4949afe3e8eb6a5f1 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:33:04 -0700 Subject: [PATCH 3/7] Instructions to make `git` available at app run time (#337) * Upgrading to heroku-24 * Instructions to make `git` available at app run time --- RELEASE.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index f738985..ef0fb79 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -19,8 +19,13 @@ The commands below assume a production application named `dbt-hubcap`. Replace w - Job: `python3 hubcap.py` - Schedule: Every hour at :00 - Dyno size: Hobby / Standard-1X -1. Configure the `CONFIG` environment variable: [Settings > Config Vars > Reveal Config Vars](https://dashboard.heroku.com/apps/dbt-hubcap/settings) +1. Configure environment variables: [Settings > Config Vars > Reveal Config Vars](https://dashboard.heroku.com/apps/dbt-hubcap/settings) - `CONFIG`: copy format from `config.example.json` and adjust values as needed + - `GIT_EXEC_PATH`: `/app/.apt/usr/lib/git-core` +1. Setup `git` to be available at app run time. See [these](https://devcenter.heroku.com/articles/heroku-24-stack#changes-to-git) instructions for context. + ```shell + heroku buildpacks:add --index 1 heroku-community/apt --app dbt-hubcap + ``` 1. (Re-)deploy the application using the instructions below. See [these](https://dashboard.heroku.com/apps/dbt-hubcap/deploy/heroku-git) instructions for context. From 01c571138a132d14b183fa801339d03b6111d728 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:21:22 -0700 Subject: [PATCH 4/7] Upgrade from `runtime.txt` to `.python-version` (#340) * Upgrading to heroku-24 * Rename runtime.txt to .python-version * Use conventions of `.python-version` file --- .python-version | 1 + runtime.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .python-version delete mode 100644 runtime.txt diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..b326afb --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9.15 diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index aaf66d8..0000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.15 From 429e26670731d92ea76c4e7b5717819f4f886475 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:28:27 -0700 Subject: [PATCH 5/7] Use minor for the Python version instead of patch (#341) --- .python-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.python-version b/.python-version index b326afb..bd28b9c 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9.15 +3.9 From e1b1910b98a9ecd42ffa43b0a6496a1bf9d3adee Mon Sep 17 00:00:00 2001 From: Matt Senick <32623708+Matts52@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:53:58 -0600 Subject: [PATCH 6/7] Add dbt-set-similarity (#342) * add package * Add trailing newline for code quality checks * add package name to hub.json * newline at EOF --------- Co-authored-by: Joel Labes --- hub.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hub.json b/hub.json index 2397fb8..a67c28b 100644 --- a/hub.json +++ b/hub.json @@ -66,7 +66,8 @@ "materialize-dbt-utils" ], "Matts52": [ - "dbt-ml-inline-preprocessing" + "dbt-ml-inline-preprocessing", + "dbt-set-similarity" ], "Montreal-Analytics": [ "dbt-snowflake-utils" From a69b800e0dc99e92b19530b7ffd40a4824ce6d94 Mon Sep 17 00:00:00 2001 From: Dat Nguyen <103571964+il-dat@users.noreply.github.com> Date: Tue, 3 Dec 2024 05:49:04 +0700 Subject: [PATCH 7/7] Register dbt-audit-helper-ext (#343) --- hub.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hub.json b/hub.json index a67c28b..79310cd 100644 --- a/hub.json +++ b/hub.json @@ -349,7 +349,8 @@ "dbt-data-diff", "dbt-snowflake-evaluator", "dbt-tags", - "dbt-alert" + "dbt-alert", + "dbt-audit-helper-ext" ], "irvingpop": [ "dbt_otel_export"