Skip to content

Commit

Permalink
Feedback updates (#1056)
Browse files Browse the repository at this point in the history
* some small tweaks on dependency updates

* reorder these items
  • Loading branch information
johrstrom authored Dec 31, 2024
1 parent 40b960c commit 93e88cf
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 6 deletions.
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/

0 comments on commit 93e88cf

Please sign in to comment.