HashNuke / heroku-buildpack-elixir

Heroku Buildpack for Elixir with nitro boost
MIT License
810 stars 304 forks source link

Use new build hex pm urls #214

Closed madlep closed 1 year ago

madlep commented 1 year ago

URLs for hex.pm downloads are changing from https://repo.hex.pm -> https://builds.hex.pm as per https://hex.pm/blog/new-domain-for-build-artifacts

The first brownout hit today, and we weren't able to deploy to Heroku, getting the "Sorry, Erlang version isn't available..." error. This was happening because the curl calls aren't following redirects (ie not using the -L flag). Our quickfix was to add. However, the better fix is to use the new URLs.

Note: the first "brownout" only just happened, and was scheduled for midnight UTC - but we're in Australia, so was 10am here. And we noticed 🤨

ericmj commented 1 year ago

This looks correct and apparently I still have commit rights to this repo so I am pushing the merge button. Thanks for the PR!