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
THRIFT-5116: Update NodeJS to supported version on Ubuntu Xenial #2032
THRIFT-5116: Update NodeJS to supported version on Ubuntu Xenial #2032
Conversation
Is that related to / superseded by THRIFT-5120 maybe? |
I'm not really an expert, but I think this PR supersedes THRIFT-5120. THRIFT-5120 uses Node 8.x which since January 2020 is EOL. I think it may be better to go for the currently supported Node versions, or what do you think? |
Please also update LANGUAGES.md and CHANGES.md. |
65f6ecb
to
02f4a18
Compare
Thanks @dcelasun, fixed now. Please review. |
Unfortunately this seems to have broken Travis:
|
Possibly you are right, but I've just seen a very similar error in an unrelated build. Could you pelase re-trigger Travis once to see if that helps? See also my related email to dev-list from today. |
I've restarted it and it failed again, because there really is a bug 🙂 This:
should be
(note the |
02f4a18
to
5fc13f6
Compare
Dammit, you are right! Thanks. Slightly off-topic, I think the comments in the Dockerfile should really be changed. I've had good experience with adding comments in chains of
I personally would highly prefer
This does some part of documentation, remains visible in the execution, and most importantly it does not break the chain of |
That's a great idea actually, please go ahead and change it. |
21c80d7
to
0de155a
Compare
0de155a
to
3e59a4b
Compare
Pushed again to re-trigger the CI. Please consider for merging if the build now succeeds? |
Travis is all green, merged 🎉 |
This PR updates NodeJS on Ubuntu Xenial to 10.x. This is because NodeJS 6.x that was previously used does not support newer node modules. Also, since January 2020, NodeJS 8.x is EOL. Therefore 10.x is the currently oldest, supported NodeJS version.
The Dockerfile was tested locally so the docker build should work. Also, NodeJS is the currently successfully employed version on other thrift docker builds.
This PR fixes the issue https://travis-ci.org/apache/thrift/jobs/654070652 that is now solved in https://travis-ci.org/apache/thrift/jobs/654644828, so please review and merge. However note that the build still does not fully succeed with a later error about a required Ruby update. This second issue is very likely unrelated to this PR.
[skip ci]
at the end of your pull request to free up build resources.