Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to make git available at app run time #337

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: setting the GIT_EXEC_PATH environment variable won't be necessary anymore if heroku/heroku-buildpack-apt#137 is implemented.

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.


Expand Down
Loading