Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3777

Update builder image - NodeJS v14 to v18

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • openshift-4.15
    • None
    • Foundation
    • None
    • HAC Infra OCP - Sprint 244

    Description

      Update console frontend builder image from NodeJS version 14 to 18. This is necessary since some other dependencies requires higher version of NodeJS. 

       
      Acceptance criteria:

      • update NodeJS v14 to v18
      • check for breaking changes, fix build issues
      • get a clean run of pre merge tests 

         

      Findings:

      To update Node.js version from 14 to 18 in the console UI builder image and get a clean run of pre-merge tests would require a workaround solution to fix the breaking change due to the change in the hashing algorithm in Node.js v17 upward. To fix the issue, we’ll   have to override the hashing algorithm - “md4”  which is the default in previous versions of Node.js.

      Reference to previous PRs to update tectonic-console-builder image. 

      https://github.com/openshift/console/pull/12828

      https://github.com/openshift/release/pull/39443/files

       

      Attachments

        Activity

          People

            cajieh Cyril Ajieh
            cajieh Cyril Ajieh
            Yanping Zhang Yanping Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: