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

Specify nodejs version in TP spec #5446

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Specify nodejs version in TP spec #5446

merged 2 commits into from
Jan 20, 2021

Conversation

shamrickus
Copy link
Member

What does this PR (Pull Request) do?

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

Build the TP RPM and verify that it depends on Nodejs 12 instead of any nodejs version.

If this is a bug fix, what versions of Traffic Control are affected?

  • master

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@zrhoffman
Copy link
Member

Currently the documentation says nodejs 12 or above is required.

Requires: nodejs >= 2:12.0.0, nodejs < 2:13.0.0

Does TP not run correctly on Node 13 or above? If so, that should be documented.

@shamrickus
Copy link
Member Author

There's no reason it shouldn't, but I think we want to pin our nodejs to a tested version.

@zrhoffman
Copy link
Member

[...] I think we want to pin our nodejs to a tested version.

That's an environment decision. The NodeSource yum repos are separated by Node.js major version (example: https://rpm.nodesource.com/pub_12.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm), so there's no danger of upgrading an existing nodejs package to a new major version. Since the EPEL nodejs versions for CentOS 7 and CentOS 8 are both under 12 anyway, specifying minimum version only should be sufficient.

Copy link
Member

@mitchell852 mitchell852 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mitchell852 mitchell852 merged commit ed0a66e into apache:master Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TP rpmspec does not specify nodejs version
3 participants