Skip to content

Commit

Permalink
Document Ruby 3.1 and NodeJS 18 updates
Browse files Browse the repository at this point in the history
Fixes #832
  • Loading branch information
treydock committed Jul 6, 2023
1 parent ea23bb1 commit 8ff5b02
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 18 deletions.
27 changes: 14 additions & 13 deletions source/installation/install-software.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,21 @@ Some operating systems use `Software Collections`_ to satisfy these.
sudo yum install centos-release-scl epel-release
.. tab:: RockyLinux 8
.. tab:: RockyLinux/Alma Linux 8

.. code-block:: sh
sudo dnf config-manager --set-enabled powertools
sudo dnf install epel-release
sudo dnf module enable ruby:3.0 nodejs:14
sudo dnf module enable ruby:3.1 nodejs:18
.. tab:: RockyLinux 9
.. tab:: RockyLinux/Alma Linux 9

.. code-block:: sh
sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release
sudo dnf module enable ruby:3.1 nodejs:18
.. tab:: RHEL 7

Expand All @@ -74,7 +75,7 @@ Some operating systems use `Software Collections`_ to satisfy these.
.. code-block:: sh
sudo dnf install epel-release
sudo dnf module enable ruby:3.0 nodejs:14
sudo dnf module enable ruby:3.1 nodejs:18
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
Expand All @@ -83,7 +84,7 @@ Some operating systems use `Software Collections`_ to satisfy these.
.. code-block:: sh
sudo dnf install epel-release
sudo dnf module enable ruby:3.0 nodejs:14
sudo dnf module enable ruby:3.1 nodejs:18
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
2. Add repository and install
Expand All @@ -103,24 +104,24 @@ Some operating systems use `Software Collections`_ to satisfy these.

.. code-block:: sh
sudo yum install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.el8.noarch.rpm
sudo dnf install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.el8.noarch.rpm
sudo yum install ondemand
sudo dnf install ondemand
.. tab:: RedHat/Rocky Linux/AlmaLinux 9

.. code-block:: sh
sudo yum install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.el9.noarch.rpm
sudo dnf install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.el9.noarch.rpm
sudo yum install ondemand
sudo dnf install ondemand
.. tab:: Ubuntu 20.04

.. code-block:: sh
sudo apt install apt-transport-https ca-certificates
wget -O /tmp/ondemand-release-web_{{ ondemand_version }}.0_all.deb https://apt.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web_{{ ondemand_version }}.0-focal_all.deb
wget -O /tmp/ondemand-release-web_{{ ondemand_version }}.0-focal_all.deb https://apt.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web_{{ ondemand_version }}.0-focal_all.deb
sudo apt install /tmp/ondemand-release-web_{{ ondemand_version }}.0-focal_all.deb
sudo apt update
Expand All @@ -131,7 +132,7 @@ Some operating systems use `Software Collections`_ to satisfy these.
.. code-block:: sh
sudo apt install apt-transport-https ca-certificates
wget -O /tmp/ondemand-release-web_{{ ondemand_version }}.0_all.deb https://apt.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web_{{ ondemand_version }}.0-jammy_all.deb
wget -O /tmp/ondemand-release-web_{{ ondemand_version }}.0-jammy_all.deb https://apt.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web_{{ ondemand_version }}.0-jammy_all.deb
sudo apt install /tmp/ondemand-release-web_{{ ondemand_version }}.0-jammy_all.deb
sudo apt update
Expand All @@ -141,9 +142,9 @@ Some operating systems use `Software Collections`_ to satisfy these.

.. code-block:: sh
sudo yum install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.amzn2023.noarch.rpm
sudo dnf install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.amzn2023.noarch.rpm
sudo yum install ondemand
sudo dnf install ondemand
3. Start services
-----------------
Expand Down
27 changes: 23 additions & 4 deletions source/release-notes/v3.1-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Administrative changes
New Features
------------

- `aarch64 and ppc64le packages`_
- `aarch64/arm64 and ppc64le packages`_
- `Amazon Linux 2023 packages`_

Details of administrative changes
Expand All @@ -32,6 +32,14 @@ Dependency updates

This release updates the following dependencies:

- Ruby 3.1 **(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.

- NodeJS 18 **(All OSes except RHEL 7)**

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

- Passenger 6.0.17
- NGINX 1.22.1
- ondemand-dex 2.36.0
Expand Down Expand Up @@ -87,6 +95,17 @@ Upgrade directions
sudo apt install /tmp/ondemand-release-web_3.1.0-jammy_all.deb
sudo apt update
#. Enable dependencies

**RHEL/Rocky/AlmaLinux 8 & 9 only**

.. code-block:: sh
sudo dnf module reset nodejs
sudo dnf module enable nodejs:18
sudo dnf module reset ruby
sudo dnf module enable ruby:3.1
#. Update OnDemand

.. tabs::
Expand Down Expand Up @@ -165,10 +184,10 @@ Upgrade directions
Details of new features
-----------------------

aarch64 and ppc64le packages
............................
aarch64/arm64 and ppc64le packages
..................................

Added aarch64 and ppc64le packages for some operation systems.
Added aarch64/arm64 and ppc64le packages for some operating systems.
See :ref:`Supported Operating Systems and Architectures <os-support>`
for a full list of which operating systems support aarch64 and ppc64le.

Expand Down
2 changes: 1 addition & 1 deletion source/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ At this time OnDemand only supports the following operating systems and architec
:format: html

.. csv-table:: Operating System and Architecture Support
:header: "","x86_64","aarch64","ppc64le"
:header: "","x86_64","aarch64/arm64","ppc64le"
:stub-columns: 1

"RedHat/CentOS 7",:raw-html:`&#9989;`,:raw-html:`&#9989;`,:raw-html:`&#9989;`
Expand Down

0 comments on commit 8ff5b02

Please sign in to comment.