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

Feedback updates #1056

Merged
merged 2 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions source/release-notes/v4.0-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,30 @@ Dependency Updates

This release updates the following dependencies:

- Passenger 6.0.23
- NGINX 1.26.1
- ondemand-dex 2.41.1

- Ruby 3.3 **(RHEL 8 & 9 only)**

.. warning:: The change in Ruby version means any Ruby-based apps that are not provided by the OnDemand RPM must be rebuilt or supply their own ``bin/ruby`` to use the older version of ruby.
.. warning::

The change in Ruby version means any Ruby-based apps that are not
provided by the OnDemand RPM must be rebuilt or supply their own
:ref:`ruby_starter_app_wrapper` to use the older version of Ruby.

- NodeJS 20 **(Every OS)**

.. warning:: The change in Node version means any Node-based apps that are not provided by the OnDemand RPM must be rebuilt.
.. warning::

The change in NodeJs version means any Node-based apps that are not
provided by the OnDemand RPM must be rebuilt or supply their own
:ref:`nodejs_starter_app_wrapper` to use the older version of NodeJs.

.. warning:: Ubuntu 24.04 and Debian 12 are no longer supported on ppc64le due to NodeJS 20 not being available on that architecture.

- Passenger 6.0.23
- NGINX 1.26.1
- ondemand-dex 2.41.1

.. warning:: OnDemand repos no longer provide mod_auth_openidc or cjose.
.. warning:: OnDemand repos no longer provide ``mod_auth_openidc`` or ``cjose``.

SELinux Changes
---------------
Expand Down
20 changes: 20 additions & 0 deletions source/tutorials/tutorials-passenger-apps/nodejs-starter-app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,25 @@ This is your new `NodeJs`_ application!

.. include:: deploy-to-production.inc

.. _nodejs_starter_app_wrapper:

Node Wrapper
------------

Applications can provide a ``bin/node`` file within their project
to use a different version of NodeJs. Here's an example of such a file.

.. warning::
Ensure this file is executable permissions, otherwise it will not work.

.. code:: shell

#!/bin/bash

# OnDemand uses NodeJs 20, but this application uses 22.

module load nodejs/22
exec /bin/env node "$@"

.. _NodeJs: https://nodejs.org/en
.. _Express: https://expressjs.com/
20 changes: 20 additions & 0 deletions source/tutorials/tutorials-passenger-apps/ruby-starter-app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,25 @@ Here's the simplest version of this file returning Hello World on the root URL.

.. include:: deploy-to-production.inc

.. _ruby_starter_app_wrapper:

Ruby Wrapper
------------

Applications can provide a ``bin/ruby`` file within their project
to use a different version of ruby. Here's an example of such a file.

.. warning::
Ensure this file is executable permissions, otherwise it will not work.

.. code:: shell

#!/bin/bash

# OnDemand uses ruby 3.3, but this application uses 3.0.

module load ruby/3.0
exec /bin/env ruby "$@"

.. _Sinatra: https://sinatrarb.com/
.. _Ruby on Rails: https://rubyonrails.org/
Loading