-
Notifications
You must be signed in to change notification settings - Fork 426
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
In order to support Heroku-22 we need to generate new binaries, so it makes sense to build the latest versions for it and the other stacks rather than something outdated. The binary build process for this buildpack uses the default `nginx` version specified by `ngx_mruby`. As such, updating `ngx_mruby` from `2.2.3` to `2.2.4` means the bundled `nginx` version is also updated from `1.19.0` to `1.21.3`: https://github.com/matsumotory/ngx_mruby/blob/v2.2.3/nginx_version https://github.com/matsumotory/ngx_mruby/blob/v2.2.4/nginx_version Changes: https://github.com/matsumotory/ngx_mruby/releases/tag/v2.2.4 https://nginx.org/en/CHANGES GUS-W-10346704.
a4f0801
to
79f2d69
Compare
So I spotted there was a typo in the
Which is due to the removal of system Ruby from Heroku-22. The whole buildpack relies upon Ruby (not just at build time), so this is going to require a bit of a different approach. That said, part of me wonders whether it's just time to deprecate this buildpack in favour of https://github.com/heroku/heroku-buildpack-nginx ? |
I've split the version bump parts of this out to #240, and will close this out for now in favour of opening a new PR for Heroku-22 once the Ruby aspect figured out. |
It seems our options are either:
@hone, thoughts? :-) |
cc @heroku/languages (decision needed here ref how to handle system Ruby no longer being in the Heroku-22 stack image - see above for possible options) |
I'd be in favor of option 2. But I'd suggest the error messaging giving users two options: a) add the ruby buildpack, or b) switch to the nginx buildpack. For some folks, switching to the nginx buildpack might be a better choice. |
@hone (as original buildpack creator) + anyone else: As a heads up, our current thinking is to go with option (3):
The plan is to have a migration guide in the README of this buildpack, that can be linked to from a Heroku-22 specific failure message during The migration guide in the README will suggest running a one-off dyno to trigger the script that generates the nginx config, then Lastly, we'll need to notify https://github.com/mars/create-react-app-buildpack that they'll need to migrate to the nginx buildpack too. (Edit: Filed mars/create-react-app-buildpack#200) |
#243 is now open for deprecating this buildpack |
In order to support Heroku-22 we need to generate new binaries, so it makes sense to build the latest versions for it and the other stacks rather than something outdated.
The binary build process for this buildpack uses the default
nginx
version specified byngx_mruby
. As such, updatingngx_mruby
from2.2.3
to2.2.4
means the bundlednginx
version is also updated from1.19.0
to1.21.3
:https://github.com/matsumotory/ngx_mruby/blob/v2.2.3/nginx_version
https://github.com/matsumotory/ngx_mruby/blob/v2.2.4/nginx_version
Changes:
https://github.com/matsumotory/ngx_mruby/releases/tag/v2.2.4
https://nginx.org/en/CHANGES
GUS-W-10346704.