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

[Backport 2.x] Allow selecting the Node.js binary OSD uses #3637

Merged
merged 2 commits into from
Mar 23, 2023

Commits on Mar 20, 2023

  1. Allow selecting the Node.js binary OSD uses (#3508)

    New reusable use_node scripts take care of selecting the correct Node.js binary based OSD_NODE_HOME, OSD_HOME, and whatever is in the PATH. It also takes care of finding the binary on FreeBSD.
    * The startup scripts check `OSD_NODE_HOME` and `NODE_HOME` before falling back to use the bundled or system-wide Node.js binary.
    * Update `package.json` to replace `node` with `use_node`.
    * Update file templates and shell scripts to internally use `use_node`.
    * Update the build scripts to copy `use_node` into releases
    * Make tests that execute node internally, honor the binary being used.
    
    Signed-off-by: Miki <miki@amazon.com>
    (cherry picked from commit cb472dc)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    
    # Conflicts:
    #	CHANGELOG.md
    github-actions[bot] committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    8e2e14d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Add changelog

    Signed-off-by: Josh Romero <rmerqg@amazon.com>
    joshuarrrr committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    69c8685 View commit details
    Browse the repository at this point in the history