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
Update bundled openresty/luajit2 to v2.1-20200102 #600
Conversation
Update the version of openresty/luajit2 in the 1.15.8.x branch to v2.1-20200102. This is to allow a release of openresty that includes a version of luajit that supports the s390x architecture to be created. Support for s390x was added to openresty/luajit2 by this PR - openresty/luajit2#50 which is included in openresty/luajit2 release v2.1-20200102, however the bundled release of openresty/luajit2 in the latest release of openresty, version 1.15.8.3, is v2.1-20190507, which has no support for s390x. Commit added by Matthew Arnold <mattarno@uk.ibm.com>
Hi, While not personally opposed to the bump (although I do have some concerns since our extensive EC2-hosted test suite typically gets ran before such releases bumping the LuaJIT version), what prevents you from building OpenResty with LuaJIT v2.1-20200102? You can compile OpenResty and use the |
We are working on adding s390x support to ingress-nginx controller, https://github.com/kubernetes/ingress-nginx, which uses openresty. This requires an official openresty build, rather than a build I have built myself outside the official builds. How do we run the EC2-hosted test suite? Could we run it against a build of openresty from 1.15.8.x, with LuaJIT v2.1-20200102, and see if we can bump the version of LuaJIT based on that? |
How come? Why not downloading an official build, and compiling it yourself against the version of LuaJIT you want to use? You'd be unblocked without having to wait for a new release. |
We want add s390x support to the Nginx Ingress Controller for Kubernetes project. Not just build it for s390x for myself. To make that change in the repo I linked above it's going to be necessary to have an official openresty release that includes a version of LuaJIT that supports s390x. Could I understand what the planned schedule for publishing the next release of openresty is? At the moment, the main issue for me I'm concerned about is not the wait for the next official release of openresty to get published, but that the next official release of openresty will still come bundled with LuaJIT version 2.1-20190507, which doesn't support s390x. Thus the next official release would still not be usable for building Nginx Ingress Controller for s390x. |
@mattarnoatibm two comments:
Since 0.27.1, ingress-nginx does not use openresty anymore. We do use LuaJIT and lua-nginx-module.
Unless you can provide long term access to s390x hardware, we cannot add support for new platforms. Also, to complement what @thibaultcha said, you can fork ingress-nginx and build a custom nginx image, just changing this line pointing to the correct LuaJIT commit. |
I did a little digging and found the change Manuel was talking about where ingress-nginx switched from openresty to nginx, but does still use openresty/luajit2: kubernetes/ingress-nginx#4863 @mattarnoatibm hope that helps. |
I'll see if we can get a build based on the |
For the record, the next major OpenResty release will be 1.17.8.1, of which RC1 is currently available right now. It comes bundled with LuaJIT 2.1-20200102 which has s390x support. But again: there was no need for an official OpenResty release to bundle it in the first place since you can simply compile it yourself, quite easily, with a single Thanks for the info @aledbf! |
@thibaultcha Just for confirmation, Does this mean the next major OpenResty release i.e. 1.17.8.1 will provide official pre-built packages for s390x as well? |
@aledbf We can provide s390x hardware. Please let us know. |
@abhay1722 please send me an email aledbf@gmail.com |
Update the version of openresty/luajit2 in the 1.15.8.x branch to
v2.1-20200102.
This is to allow a release of openresty that includes a version of
luajit that supports the s390x architecture to be created. Support for
s390x was added to openresty/luajit2 by this PR -
openresty/luajit2#50
which is included in openresty/luajit2 release v2.1-20200102, however
the bundled release of openresty/luajit2 in the latest release of
openresty, version 1.15.8.3, is v2.1-20190507, which has no support
for s390x.
Commit added by Matthew Arnold mattarno@uk.ibm.com
I hereby granted the copyright of the changes in this pull request
to the authors of this openresty project.