From 58f0eb1a16c64119d2bde12d2b3e73e1b176df4a Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Fri, 8 Nov 2024 10:50:24 -0700 Subject: [PATCH 1/2] Upgrading to heroku-24 From f4062deab45f341221972bdc6e71ebc2fb9a372b Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Fri, 8 Nov 2024 16:23:31 -0700 Subject: [PATCH 2/2] 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.