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

Changing from heroku-18 to Heroku-22 #1021

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Papercups",
"description": "An open source customer chat messaging service",
"repository": "https://github.com/papercups-io/papercups",
"repository": "https://github.com/kwamena98/papercups",
"keywords": ["elixir", "phoenix", "chat"],
"env": {
"SECRET_KEY_BASE": {
Expand Down Expand Up @@ -51,7 +51,7 @@
"scripts": {
"postdeploy": "POOL_SIZE=2 mix ecto.migrate"
},
"stack": "heroku-18",
"stack": "heroku-22",
"buildpacks": [
{
"url": "https://buildpack-registry.s3.amazonaws.com/buildpacks/hashnuke/elixir.tgz"
Expand Down
32 changes: 28 additions & 4 deletions elixir_buildpack.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
# Elixir version
elixir_version=1.11.3
stack=heroku-22

# Erlang version
# available versions https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions
erlang_version=23.0.2
erlang_version=24.0


# Elixir version
elixir_version=1.2.0

# Always rebuild from scratch on every deploy?
always_rebuild=false

# Create a release using `mix release`? (requires Elixir 1.9)
release=true

# A command to run right before fetching dependencies
hook_pre_fetch_dependencies="pwd"

# A command to run right before compiling the app (after elixir, .etc)
hook_pre_compile="pwd"

hook_compile="mix compile --force --warnings-as-errors"

# A command to run right after compiling the app
hook_post_compile="pwd"

# Set the path the app is run from
runtime_path=/app

# Enable or disable additional test arguments
test_args="--cover"