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

Add HATCHET_DEFAULT_STACK for configuring the default stack #184

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

edmorley
Copy link
Member

This saves having to specify a stack every time App is created, when using CI runs with a specific global default stack.

Closes #163.

This saves having to specify a `stack` every time `App` is created,
when using CI runs with a specific global default stack.

Closes #163.
@edmorley edmorley self-assigned this Jan 27, 2021
@@ -504,7 +504,7 @@ The `Hatchet::Runner.new` takes several arguments.

### Init options

- stack (String): The stack you want to deploy to on Heroku.
- stack (String): The Heroku [stack](https://devcenter.heroku.com/articles/stack) to use for the app. If this is not set, the stack will be determined from `HATCHET_DEFAULT_STACK`, or else the Heroku platform's [default stack](https://devcenter.heroku.com/articles/stack#default-stack).
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch on the docs here.

@schneems
Copy link
Contributor

Thanks!

@schneems schneems merged commit 81261e7 into main Jan 29, 2021
@schneems schneems deleted the edmorley-default-stack branch January 29, 2021 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support configuring the default stack
2 participants