Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4130

investigate removal of `node_env` script on ansible-provisioned nodes

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      Task:

      • investigate removal of `node_env` script on ansible-provisioned nodes
      • is it safe to remove support for multiple versions of node, now that theia is gone?
      • can we switch to a simple rpm-installed npm?
      • are the variables in job-config.json related to node/npm/yarn version still used/relevant?

      See:

      Note that dsc_3.x builds use node differently too:

      # default node version
      . ~/node_env ''' + DS_VERSION + ''' 
      # special node version for dsc only
      nvm install ''' + nodeVersion + '''; . $HOME/.nvm/nvm.sh; nvm use ''' + nodeVersion + '''
      echo "Node: $(node --version) ( $(which node) )"
      echo "Yarn: $(yarn --version) ( $(which yarn) )"

      Attachments

        Activity

          People

            sdawley@redhat.com Samantha Dawley
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: