Skip to content

[REF] update the version install for nodejs in odoo110 image

Job related: https://git.vauxoo.com/deployv-dev/orchest/-/jobs/1384669

Task released: task#74582

Summary of changes

The 5.x version of Nodejs is unavailable on the Ubuntu repositories, so when trying to execute apt update, it triggers the error of job, so in this MR modify the way to install nodejs from NodeSource.

Also, update the version to 6.x because it is the first version that can be installed on Ubuntu 16.04, the version with fewer changes to pretend work like the 5.x.

  • image

The new way to install nodejs triggers an error with the 5.x version:

  • image

Also, freeze the lib cython==0.29.32 because it triggers an error trying to install PyYAML: https://git.vauxoo.com/deployv-dev/orchest/-/jobs/1387088

Choose the 0.29.32 version because it is the version already installed in an image version 11.0:

  • image

Tests

  • Build the image odoo 110.
  • Use the new image on the error job.

Notes:

More information: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04#option-2-installing-node-js-with-apt-using-a-nodesource-ppa

Edited by Jonathan Osorio Alcalá

Merge request reports