fix: install Node JS using correct repo settings
According to the bash setup script for nodesource, the distro has to be
set to |nodistro| instead of the actual distro name (as the zuul-jobs
role did). Also, the GPG key has to be downloaded from another URL now.
Thus, we're forking the role and modifying all this in order to fix
the issue with installing Node JS.
Change-Id: Ib76282e6fa112efc8e956d1d0b9beec92029b2e4
diff --git a/roles/ensure-cws-upload/tasks/main.yaml b/roles/ensure-cws-upload/tasks/main.yaml
index b0635a1..e0979e0 100644
--- a/roles/ensure-cws-upload/tasks/main.yaml
+++ b/roles/ensure-cws-upload/tasks/main.yaml
@@ -1,6 +1,6 @@
- name: Ensure NodeJS is installed
include_role:
- name: ensure-nodejs
+ name: ensure-nodejs-fork
vars:
node_version: 20